[linux-lvm] How can I my disk type to 0x8e? OK! I understood! But, what are you recommend?

Leandro Sales - Estagiário GTI leandrosales at cefet-al.br
Tue Jun 5 18:04:01 UTC 2001


Ok! After change the identify to 0x8e, What I have to do first? Make I backup 
of my partition and after run pvcreate?

I have the following fstab:

$cat fstab

/dev/sda6               /                       ext2    defaults        1 1
/dev/sda2               /boot                   ext2    defaults        1 2
/dev/sda7               /home   ext2     exec,dev,suid,rw,usrquota,grpquota 1 2
/dev/sda5               /usr                    ext2    defaults        1 2
/dev/sda3               /var                    ext2    defaults        1 2
/dev/sda1               swap                    swap    defaults        0 0
/dev/fd0                /mnt/floppy             ext2    noauto          0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,ro       0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620       0 0

and:

$df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda6               497667    408419     63546  87% /
/dev/sda2                31109      4932     24571  17% /boot
/dev/sda7              3563311   1059255   2319712  31% /home
/dev/sda5              2035606   1870986     59396  97% /usr
/dev/sda3              2035638   1328109    602304  69% /var

I will install a new IDE disk and I want to join a partition which belongs to 
the new IDE disk with the partion /dev/sda5 for exemple. What I have to do 
after install the IDE disk?

fdisk /dev/hda, change the partition hda# to 8e and after run pvcreate /dev/hda 
or Do I have to run "pvcreate /dev/hda" and "pvcreate /dev/sda" If I run 
pvcreate in /dev/sda will I lost my data?

Sorry for ask some lamme questions, but I have been reading the LVM-HOWTO and I 
have some doubt.

Leandro.


------------------------------------------------
Mensagem enviada pelo servidor de Webmail www.etfal.g12.br



More information about the linux-lvm mailing list