<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I am not sure where you ought to go from here. There is clearly
something wrong with the filesystem on that partition. Without knowing
the exact commands, its hard to know what when wrong.<br>
<br>
Do you have a snapshot? I have used parted and e2resizefs to expand an
ext3 filesystem without trouble.<br>
<br>
Austin<br>
<br>
<br>
On 08/12/2010 05:29 PM, Dan Yamins wrote:
<blockquote
cite="mid:AANLkTim7J5e0i4Qmbh8UAuX9jkMotc6u-D6XOO1_mwxA@mail.gmail.com"
type="cite">Same error.<br>
<br>
resize2fs 1.39 (29-May-2006)<br>
resize2fs: Bad magic number in super-block while trying to open
/dev/sdm1<br>
Couldn't find valid filesystem superblock.<br>
<br>
Something is corrupted on the drive when re-writing the partition table<br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Aug 12, 2010 at 12:18 PM, Justin
Riley <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN
PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 08/12/2010 11:43 AM, Dan Yamins wrote:<br>
> Does this completely confirm that the larger 500 GB volume is
completely<br>
> "seen"? (And if so, does this mean that nothing like resize2fs or<br>
> xfs_growfs is necessary?)<br>
<br>
</div>
Dan,<br>
<br>
- From the fdisk -l output you sent you can see that you have a larger<br>
volume now (536.8GB) however your partition is still only 20GB big:<br>
<br>
20964824(blocks)/1024.0(blocks/MB) ~= 20GB<br>
<br>
You need to recreate the partition to be 536.8GB and then run resize2fs:<br>
<br>
If you're doing this on a StarCluster you'll first need to run the<br>
following command (as root) on each node of the cluster for the<br>
mount_path defined in your volume's StarCluster config:<br>
<br>
$ umount MOUNT_PATH<br>
<br>
Then shutdown the nfs service (as root) on the master node:<br>
<br>
$ /etc/init.d/nfs stop<br>
<br>
After that do the following (as root) to resize your new volume:<br>
<br>
$ umount /dev/sdz<br>
$ fdisk /dev/sdz<br>
<br>
# Type 'd' to delete the primary partition<br>
# Type 'n' for new partition<br>
# Type 'p' for primary<br>
# Type '1' for 1st<br>
# Type Enter for 1st cylinder<br>
# Type Enter for last cylinder (full disk)<br>
# Type 'w' to finish<br>
<br>
$ e2fsck -f /dev/sdz1<br>
$ resize2fs -p /dev/sdz1<br>
$ fsck -f -y /dev/sdz1<br>
<br>
Then you should be able to mount the new volume:<br>
<br>
$ mount /dev/sdz1 MOUNT_PATH<br>
<br>
And start nfs again on the master:<br>
<br>
$ /etc/init.d/nfs start<br>
<br>
And re-mount the NFS drives for that volume on each of the nodes:<br>
<br>
$ mount MOUNT_PATH<br>
<br>
HTH,<br>
<br>
~Justin<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.15 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a moz-do-not-send="true"
href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAkxkHucACgkQ4llAkMfDcrnxIwCgjFOPtLte3TT59m8mPONqPf3O<br>
ZhAAnRQ8ByIehbl6CS/8QbraCistzu6+<br>
=9VLQ<br>
-----END PGP SIGNATURE-----<br>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Starcluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starcluster@mit.edu">Starcluster@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Austin Godber
<a class="moz-txt-link-abbreviated" href="mailto:godber@jumpbox.com">godber@jumpbox.com</a>
<a class="moz-txt-link-freetext" href="http://www.jumpbox.com">http://www.jumpbox.com</a>
</pre>
</body>
</html>