All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Waterman <davidmaxwaterman@fastmail.co.uk>
To: linux-raid@vger.kernel.org
Subject: raidreconfig advice
Date: Sat, 12 Mar 2005 17:21:32 +0800	[thread overview]
Message-ID: <4232B49C.6080306@fastmail.co.uk> (raw)

OK, I am going to try to expand the capacity of my raid5 array and I 
want to make sure I've got it right.

So, first thing to check is that they are identical drives. I figure 
fdisk is enough :

foreach disk ( `cat /proc/diskstats | perl -ne '{ /((hd|sd)[a-z])\s+/; 
print "$1\n" if ( $1 ) }'` )
foreach? /sbin/fdisk -l /dev/$disk
foreach? end

Disk /dev/hda: snip...

Disk /dev/hdg: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdg doesn't contain a valid partition table

Disk /dev/hdi: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdi doesn't contain a valid partition table

Disk /dev/hdk: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdk doesn't contain a valid partition table

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table
[mwaterman@localhost /proc]$

My current RAID5 is on hd[gik] (hdm is RMAd), plus /dev/sdd as a spare.

I have sd[ab] as a RAID0 containing a backup.

This leaves me with sdc which I can try to add. If that goes OK, I'll 
trash the backup and add sd[ab] too.

1) Do the disks look identical (they're all WD2000, but some are PATA 
and some SATA).

2) Where do I get raidreconfig from? Google wasn't much help.

3) Are there any instructions for raidreconfig? I understand is uses 
some non-mdadm config files as from/to input.

4) I use xfs. Has anyone used xfs_growfs?

Thanks.

Max.

             reply	other threads:[~2005-03-12  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-12  9:21 Max Waterman [this message]
2005-03-12 11:41 ` raidreconfig advice David Greaves
2005-03-12 13:26   ` raidreconf advice Max Waterman
2005-03-12 16:37 ` raidreconfig advice Mike Hardy
2005-07-28  2:28   ` Max Waterman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4232B49C.6080306@fastmail.co.uk \
    --to=davidmaxwaterman@fastmail.co.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=mwaterman@jingmei.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.