[Starcluster] enlarge volume

Justin Riley jtriley at MIT.EDU
Thu Aug 12 17:27:54 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What about the resize2fs command? The e2fsck/fsck commands are just to
check the filesystem for sanity (good to do) but not *completely* necessary.

~Justin


On 08/12/2010 05:20 PM, Dan Yamins wrote:
> $ e2fsck -f /dev/sdz1
> 
> 
>     ... I get this error:
> 
>     [root at domU-12-31-39-0E-B2-61 ~]# e2fsck -f /dev/sdz1
>     e2fsck 1.39 (29-May-2006)
>     Couldn't find ext2 superblock, trying backup blocks...
>     e2fsck: Bad magic number in super-block while trying to open /dev/sdz
> 
> 
> 
> 
> I should add:
> 
> 1) before re-writing the partition table, I COULD mount the drive:
> 
> $ mount /dev/sdz1 /home
> 
> and e2fsck worked ...
> 
> $ e2fsck -f /dev/sdz1
> Pass 1 ...
> 
> 
> However, immediately after re-writing the partition table, I CANNOT do
> either of these things
> 
> $ mount /dev/sdz1 /home
> mount: you must specify the filesystem type
> 
> and e2fsck yields that "bad magic number" error ....
> 
> So maybe there's something going wrong in the re-writing of the
> partition table?
> 
> Dan
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxkZ1kACgkQ4llAkMfDcrlPwgCfbqVU08UVrJb7U0skgJxfXxGB
MLQAnRkpCz4x0Dh7aUl3BWlyo6kgM5WW
=9dMT
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list