Hi
I need to replace my hda because it is running out of room, hda has
windows 2000 and Fedora, I have debian on hdb with /home partition has
available size for the whole hda.

****************************************************************
$ lshw
...
           *-ide:0
                description: IDE Channel 0
                physical id: 0
                bus info: [EMAIL PROTECTED]
                logical name: ide0
                clock: 33MHz
              *-disk:0
                   product: IBM-DJNA-370910
                   vendor: IBM
                   physical id: 0
                   bus info: [EMAIL PROTECTED]
                   logical name: /dev/hda
                   capacity: 8693MB
              *-disk:1
                   product: IBM-DTLA-307020
                   vendor: IBM
                   physical id: 1
                   bus info: [EMAIL PROTECTED]
                   logical name: /dev/hdb
                   capacity: 19GB
...
****************************************************************
 
~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb1               255912     77646    164613  33% /
udev                     10240        84     10156   1% /dev
devshm                  518424         8    518416   1% /dev/shm
/dev/hdb9              9977788    366812   9104128   4% /home
/dev/hdb8               369000      8246    341094   3% /tmp
/dev/hdb5              4807056   1927700   2635172  43% /usr
/dev/hdb6              2885780   1276396   1462796  47% /var
****************************************************************

what is the bigger picture on how to do this?
what I understand from googling is:

1)use a clone software to make a mirror of your partitions from the
 disk-to-replace into another media.
2)replace the disk.
3)restore the mirror copies back onto the new disk in their designated
 partitions.

is that right?

hda looks like this
****************************************************************
**************** /etc/fstab ****************
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       2539312   2408240         0 100% /
/dev/hda2               101105     14112     81772  15% /boot
tmpfs                   517712         0    517712   0% /dev/shm
/dev/hdb9              9977788    366812   9104128   4% /mnt/debhom
/dev/fd0                  1424         2      1422   1% /mnt/floppy


**************** disks layout ****************
# vgdisplay -v
    Finding all volume groups
    Finding volume group "VolGroup00"
  --- Volume group ---
  VG Name               VolGroup00
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               4.47 GB
  PE Size               32.00 MB
  Total PE              143
  Alloc PE / Size       142 / 4.44 GB
  Free  PE / Size       1 / 32.00 MB
  VG UUID               VfF2l5-tM24-N7GU-8Uwd-6ktW-Gld1-ql4y4i
   
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                uUpUzN-nQts-3NF1-IQXE-Wht9-tMPe-2HheHX
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.50 GB
  Current LE             80
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                2eGsqf-DtMk-9ZoE-QvCq-sTR0-o8YQ-yeKYlg
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.94 GB
  Current LE             62
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1
   
  --- Physical volumes ---
  PV Name               /dev/hda3     
  PV UUID               mpsXOF-qIT0-gd1a-lNxf-zG43-C723-xJTktu
  PV Status             allocatable
  Total PE / Free PE    143 / 1
   


thanks


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

Reply via email to