How to resize the partition?
Hello folks,
I use an old 80G HDD(/dev/sdb1) as following: Code:
# mkfs.ext3 /dev/sdb1 Now I installed another 2T SATA HDD(/dev/sdc), and I want '/mnt/c' would contains /dev/sdb1 and /dev/sdc. I dont want to remove the data of former /dev/sdb1, is there any method to do this? Thanks, Phillip |
The simple answer is no. You cannot easily combine a large second hard disk with a smaller existing formatted hard disk.
You can do something like this. Code:
mount /dev/sdb1 /mnt/c Code:
mount /dev/sdc1 /mnt/c Code:
mount /dev/sdb1 /mnt/c If you are willing to reformat /dev/sdb1 and /dev/scd1 then you can use the Logical Volume Manager to combine the two disks and make them appear as one larger disk. I don't recommend doing that because it makes data recovery difficult if one of the drives fails. You are better off to just copy the data from the smaller drive to the larger drive and re-use the smaller drive. Code:
mount /dev/sdc1 /mnt/c The "mount" command can mount a hard disk or folder anywhere, not just under the "/mnt" directory. You have to create an empty directory (mount point) ahead of time. Code:
mkdir /mydisk |
All times are GMT -5. The time now is 12:55 AM. |