Dear Mr. Falko,
First of all, i would like to thank you for the steps on "How To Resize ext3 Partitions Without Losing Data" that you post on the web-site.
I am very very new to Linux.
After cloning the original disk 250GB (/dev/sda2 in this disk has about 224GB) to a new 500GB disk, i then re-partition the /dev/sda2 to have about 490GB.
I then following the steps that show how to "Enlarging An ext3 Partition" from this link:
http://www.howtoforge.com/linux_resi...xt3_partitions
One of these steps ask me to enter the command: fsck -n /dev/sda2
i got the error message as shown below:
"
...
...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda2
...
...
"
However, if i enter command: fsck -n /dev/sda1
i got:
"
...
...
/boot: clean, 36/26104 files, 17488/104388 blocks
"
The comand : tune2fs -o^has_journal /dev/sda2
also shows error:
"
...
Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock.
"
The /dev/sda2 in this new 500GB is the filesystem that i need to enlarge so that it can use the rest of the available space in this /dev/sda2 partition.
The "fdisk -l" command shows that the /dev/sda2 has about 490GB.
But when i do the "df -h" command shows that:
/dev/mapper/VolGroup00-LogVol00 (for some reason the original person who set up this system made the /dev/sda2 mapped to this /dev/mapper/VolGroup00-LogVol00) is about 224GB.
I was trying to follow the steps so that i can use the resize2fs command in the steps to enlarge the /dev/sda2 filesystem to have 490GB.
Would you please show me how can i fix this error:
"Bad magic number in super-block while trying to open /dev/sda2"
in my /dev/sda2 so that i can continue to follows the steps to successfully enlarge my /dev/sda2 to have 490GB.
Thank you very much.
Kevin
Recent comments
5 hours 41 min ago
15 hours 9 min ago
15 hours 58 min ago
19 hours 31 min ago
23 hours 55 min ago
1 day 17 min ago
1 day 2 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 18 hours ago