so, i have a linux system that has a couple drives in it, one was a 30 Gb data drive mounted under /opt. The other is 80Gb and has the os installed on it. (FC2 if it matters) At one point i had slack and redhat installed on the system so i got in the habit of keeping data on /opt so i could share it between the two os.
I filled up the 30Gb and just got a 300Gb drive to replace it.
I put a knoppix disc into the cd rom, pulled the 80Gb drive, installed the 300Gb drive in it's place and rebooted. so i had the 300 on hda and the 30 on hdb.
Knoppix fired up, I used Qtparted to partition the new 300Gb drive, setting /opt to hda1.
then used dd to copy the data from the 30 drive to the 300.
Code:
dd i=/dev/hdb1 o=/dev/hda1
an hour or so later it finished up. Looking at the drives under QtParted it showed the 300Gb dirive with 30 gb of data on it, looked good. fdisk was recognizing the full 300 Gb.
so i shut down the computer, pulled the 30 Gb drive, put the 300 in it's place, replaced the 80 GB drive and booted up. I was proud as hell when it booted right up and the data was all there. I started transferring some data that was stored on the 80 Gb drive over and got an error that the drive was full. du shows it only has about 30 Gb on it and fdisk shows a 300 Gb drive, but I can't put any more than 30 on it.
here is the output from fdisk
Code:
[marc@moonlight ~]$ sudo fdisk -l /dev/hdb
Disk /dev/hdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 36481 293033601 83 Linux
Anyone have any idea what I did wrong? I'm guessing that the FC2 OS doesnt know the disk is any differnt, but I'm not sure why or what to do about it.
Thanks!
~marc