fizgig
February 14th, 2009, 12:34 AM
When I installed ubuntu server, I used /dev/sdc1 for the root partition and /dev/sdd1 for my home folder as shown in the section of my /etc/fstab below.
# /dev/sdc1
UUID=8ee09432-be05-4f30-b20a-0c231acfe335 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdd1
UUID=002e5902-eb84-4adf-af68-1bdf74eb5af9 /home ext3 relatime 0 2Trouble is that my drive /dev/sdd died.
I don't have much on my root partition and don't plan to store much more in my home folder (I use other hard drives for main storage) so I just want to make /home also be on the same harddrive as the root.
Do I just change
UUID=002e5902-eb84-4adf-af68-1bdf74eb5af9 /home ext3 relatime 0 2to match the UUID of the good drive and add a path like this?
UUID=8ee09432-be05-4f30-b20a-0c231acfe335/home /home ext3 relatime,errors=remount-ro 0 1Also, things are acting a little funny. When I type fdisk -l, I thought I usually get back a list of hard disks and info about them (can't recall for sure though) but I get nothing back. In addition, when I want to learn about /dev/sdc, I try to type fdisk -l /dev/sdc but I get nothing there as well. Finally, I did df -h hoping to see how much of /dev/sdc is there but it doesn't seem to be listed - just my storage drives at the bottom and some other stuff I don't understand above:
Filesystem Size Used Avail Use% Mounted on
varrun 379M 204K 379M 1% /var/run
varlock 379M 0 379M 0% /var/lock
udev 379M 76K 379M 1% /dev
devshm 379M 0 379M 0% /dev/shm
/dev/mapper/vg2-backup
458G 418G 17G 97% /media/500gb-backup
/dev/mapper/vg1-storage
458G 418G 17G 97% /media/500gbHow come I don't see filesystem "/" and how much space there is left on it? How do I repoint /home to the good hard drive?
Me very confused.
# /dev/sdc1
UUID=8ee09432-be05-4f30-b20a-0c231acfe335 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdd1
UUID=002e5902-eb84-4adf-af68-1bdf74eb5af9 /home ext3 relatime 0 2Trouble is that my drive /dev/sdd died.
I don't have much on my root partition and don't plan to store much more in my home folder (I use other hard drives for main storage) so I just want to make /home also be on the same harddrive as the root.
Do I just change
UUID=002e5902-eb84-4adf-af68-1bdf74eb5af9 /home ext3 relatime 0 2to match the UUID of the good drive and add a path like this?
UUID=8ee09432-be05-4f30-b20a-0c231acfe335/home /home ext3 relatime,errors=remount-ro 0 1Also, things are acting a little funny. When I type fdisk -l, I thought I usually get back a list of hard disks and info about them (can't recall for sure though) but I get nothing back. In addition, when I want to learn about /dev/sdc, I try to type fdisk -l /dev/sdc but I get nothing there as well. Finally, I did df -h hoping to see how much of /dev/sdc is there but it doesn't seem to be listed - just my storage drives at the bottom and some other stuff I don't understand above:
Filesystem Size Used Avail Use% Mounted on
varrun 379M 204K 379M 1% /var/run
varlock 379M 0 379M 0% /var/lock
udev 379M 76K 379M 1% /dev
devshm 379M 0 379M 0% /dev/shm
/dev/mapper/vg2-backup
458G 418G 17G 97% /media/500gb-backup
/dev/mapper/vg1-storage
458G 418G 17G 97% /media/500gbHow come I don't see filesystem "/" and how much space there is left on it? How do I repoint /home to the good hard drive?
Me very confused.