[Starcluster] enlarge volume

Dan Yamins dyamins at gmail.com
Thu Aug 12 20:01:17 EDT 2010


Let me add one more thing to this thread:

Even on ubuntu, even with my original volume, you can't do "e2fsck" of the
"device" , e.g.

$ e2fsck /dev/sdz
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdo
...

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?



On Thu, Aug 12, 2010 at 6:43 PM, Dan Yamins <dyamins at gmail.com> wrote:

>
>  Do you have a snapshot?  I have used parted and e2resizefs to expand an
>>>> ext3 filesystem without trouble.
>>>>
>>>
>>>
>
> 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
>
> $ parted /dev/sdm
> [root at domU-12-31-39-0E-B2-61 ~]# parted /dev/sdm
> Error: Error initialising SCSI device /dev/sdm - Invalid argument
>
> AUstin, when you did this did you get that same error?
>
>
> I *CAN* do parted on the path:
>
> $ parted /dev/sdm1
> GNU Parted 1.8.1
> Using /dev/sdm1
> Welcome to GNU Parted! Type 'help' to view a list of commands.
>
> But then i get this error:
>
> (parted) resize 1 0 500GB
> Error: The location 500GB is outside of the device /dev/sdo1.
>
> Which is course is true ...
>
> (parted) print
> Disk /dev/sdm1: 21.5GB
> Sector size (logical/physical): 512B/512B
> Partition Table: loop
>
> Number  Start   End     Size    File system  Flags
>  1      0.00kB  21.5GB  21.5GB  ext3
>
>
> So I'm not sure where to go from here...
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20100812/f4f2b0b0/attachment.htm


More information about the StarCluster mailing list