[SOLVED] Re: RAID adventures

2010-07-20 Thread Konstantin Svist
On 07/19/2010 05:09 AM, Roberto Ragusa wrote: > Konstantin Svist wrote: > >> so I sized it down a bit: >> # mdadm --grow -z 293033472 --backup-file=/root/grow_md0_size.bak /dev/md0 > And there is your error. > You resized the device without first resizing the fileystem. > > The filesystem is *in*

Re: RAID adventures

2010-07-19 Thread Roberto Ragusa
Konstantin Svist wrote: > so I sized it down a bit: > # mdadm --grow -z 293033472 --backup-file=/root/grow_md0_size.bak /dev/md0 And there is your error. You resized the device without first resizing the fileystem. The filesystem is *in* the device. So if you want to enlarge, you enlarge the dev

Re: RAID adventures

2010-07-19 Thread Gabriel VLASIU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 19 Jul 2010, Konstantin Svist wrote: > The "I'm not sure" part kind of worries me :) Well, this is way people usually do a full backup before. :-) Gabriel - -- // Gabriel VLASIU // // OpenGPG-KeyID : 0xE684206E // OpenGPG-Fingerprint

Re: RAID adventures

2010-07-19 Thread Konstantin Svist
On 07/19/2010 12:10 AM, Gabriel VLASIU wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 19 Jul 2010, Konstantin Svist wrote: > >> No, not yet. I know it's the "next step" after growing the array, but I >> thought I'd re-do the chunks first. > I'm not sure but I think you have

Re: RAID adventures

2010-07-19 Thread Gabriel VLASIU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 19 Jul 2010, Konstantin Svist wrote: > No, not yet. I know it's the "next step" after growing the array, but I > thought I'd re-do the chunks first. I'm not sure but I think you have to run resize2fs before trying to mount your partition.

Re: RAID adventures

2010-07-19 Thread Konstantin Svist
On 07/18/2010 11:59 PM, Gabriel VLASIU wrote: >> Here's the question, then: am I royally screwed or is my data still >> there? How do I recover? > Did you run resize2fs? No, not yet. I know it's the "next step" after growing the array, but I thought I'd re-do the chunks first. -- users maili

Re: RAID adventures

2010-07-19 Thread Gabriel VLASIU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 18 Jul 2010, Konstantin Svist wrote: > Here's the question, then: am I royally screwed or is my data still > there? How do I recover? Did you run resize2fs? Gabriel - -- // Gabriel VLASIU // // OpenGPG-KeyID : 0xE684206E // OpenGPG-F

Re: RAID adventures

2010-07-18 Thread Konstantin Svist
On 07/18/2010 08:03 PM, Bill Davidsen wrote: > Konstantin Svist wrote: >>I've been playing around with RAID config and may have finally messed >> it up. >> >> Initially, I created the array with 3 300G drives: >> # mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda4 >> /dev

Re: RAID adventures

2010-07-18 Thread Bill Davidsen
Konstantin Svist wrote: > I've been playing around with RAID config and may have finally messed > it up. > > Initially, I created the array with 3 300G drives: > # mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda4 > /dev/sdb1 /dev/sdc1 > # mkfs.ext4 -v -m 0.01 -E stride=16

RAID adventures

2010-07-18 Thread Konstantin Svist
I've been playing around with RAID config and may have finally messed it up. Initially, I created the array with 3 300G drives: # mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda4 /dev/sdb1 /dev/sdc1 # mkfs.ext4 -v -m 0.01 -E stride=16,stripe-width=32 /dev/md0 It's been w