Let me add one more thing to this thread:<br><br>Even on ubuntu, even with my original volume, you can't do "e2fsck" of the "device" , e.g. <br><br>$ e2fsck /dev/sdz<br>Couldn't find ext2 superblock, trying backup blocks...<br>
e2fsck: Bad magic number in super-block while trying to open /dev/sdo<br>...<br><br>Is that to be expected? In a number of tutorials on resizing EBS volumes, i have seen this done with the devices itself. Is the reason this is failing because its a partitioned drive? <br>
<br><br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 6:43 PM, Dan Yamins <span dir="ltr"><<a href="mailto:dyamins@gmail.com">dyamins@gmail.com</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;">
<div class="im"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div text="#000000" bgcolor="#ffffff"><div><div>
<blockquote type="cite">
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div text="#000000" bgcolor="#ffffff"><div><div><blockquote type="cite">
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">Do you have a snapshot?
I
have used parted and e2resizefs to expand an
ext3 filesystem without trouble.<br>
</div>
</blockquote>
<div><br></div></div></blockquote></div></div></div></blockquote></div></blockquote></div></div></div></blockquote></div><br><br></div><div class="im">So I'm trying parted on a new, clean volume created from the snapshot, attached to /dev/sdm As I explained before, I can't do<br>
<br>$ parted /dev/sdm<br></div><div class="im">[root@domU-12-31-39-0E-B2-61 ~]# parted /dev/sdm<br>Error: Error initialising SCSI device /dev/sdm - Invalid argument <br><br></div>AUstin, when you did this did you get that same error? <br>
<div class="im"><br><br>I <i>CAN</i> do parted on the path:<br>
<br></div><div class="im">$ parted /dev/sdm1<br>
GNU Parted 1.8.1<br>Using /dev/sdm1<br>Welcome to GNU Parted! Type 'help' to view a list of commands.<br><br></div><div><div></div><div class="h5">But then i get this error:<br><br>(parted) resize 1 0 500GB<br>Error: The location 500GB is outside of the device /dev/sdo1.<br>
<br>Which is course is true ...<br><br>(parted) print <br>Disk /dev/sdm1: 21.5GB<br>Sector size (logical/physical): 512B/512B<br>Partition Table: loop<br><br>Number Start End Size File system Flags<br>
1 0.00kB 21.5GB 21.5GB ext3 <br><br><br>So I'm not sure where to go from here... <br><br></div></div><font color="#888888">Dan<br><br>
</font></blockquote></div><br>