Package: dmraid
Version: 1.0.0.rc16-4.2
Severity: important
Hello,
Today I replaced a set of aging 1TB drives which were in an ISW raid01
set with new 3TB disks. After creating a new set (in the bios) I was
dismayed to find the new mapper blockdev *smaller* than before.
I tried again using the dmraid utility, rather than setting it up in the
bios, so I had something more concrete to report.
Each disks is indeed 3TB (phew)
> # blockdev --getsize64 /dev/sd{c..f}
> 3000592982016
> 3000592982016
> 3000592982016
> 3000592982016
Creating the array:
> # dmraid -f isw --create data --type 01 --disk
> /dev/sdc,/dev/sdd,/dev/sde,/dev/sdf
>
>
> Create a RAID set with ISW metadata format
>
> RAID name: data
> RAID type: RAID01 (isw RAID10)
> RAID size: 5589G (11721047228 blocks)
> DISKS: /dev/sdc, /dev/sdd, /dev/sde, /dev/sdf,
>
>
> About to create a RAID set with the above settings. Continue ? [y/n] :y
Listing details of the new array. I note that each of the subnet mirrors
has a size of 1565556736 blocks (~746GB) and the superset seems to be
correctly striping these to 3131113472 blocks (~1493GB).
> # dmraid -s -s isw_jffegbfhc_data
> *** Group superset isw_jffegbfhc
> --> Active Superset
> name : isw_jffegbfhc_data
> size : 3131113472
> stride : 128
> type : raid01
> status : ok
> subsets: 2
> devs : 4
> spares : 0
> --> Active Subset
> name : isw_jffegbfhc_data-0
> size : 1565556736
> stride : 128
> type : mirror
> status : ok
> subsets: 0
> devs : 2
> spares : 0
> --> Active Subset
> name : isw_jffegbfhc_data-1
> size : 1565556736
> stride : 128
> type : mirror
> status : ok
> subsets: 0
> devs : 2
> spares : 0
dmraid -b reports the appropriate number of blocks available per device:
> # dmraid -b | grep WD
> /dev/sde: 5860533168 total, "WD-WCC1T1097209"
> /dev/sdf: 5860533168 total, "WD-WCC1T1476226"
> /dev/sdc: 5860533168 total, "WD-WCC1T1503861"
> /dev/sdd: 5860533168 total, "WD-WCC1T1080929"
For context, this system has one other raid array. The root volume is a
pair of raid1 SSDs:
> # dmraid -s isw_deagibdgda_root
> *** Group superset isw_deagibdgda
> --> Active Subset
> name : isw_deagibdgda_root
> size : 125040896
> stride : 128
> type : mirror
> status : ok
> subsets: 0
> devs : 2
> spares : 0
This size is correct - each SSD is 125045424 blocks long.
Is this related to the lack of GPT support in dmraid?
Thanks,
Nick
-- Package-specific info:
--- dmraid -r -vvv output
WARN: locking /var/lock/dmraid/.lock
NOTICE: /dev/sde: asr discovering
NOTICE: /dev/sde: ddf1 discovering
NOTICE: /dev/sde: hpt37x discovering
NOTICE: /dev/sde: hpt45x discovering
NOTICE: /dev/sde: isw discovering
NOTICE: /dev/sde: isw metadata discovered
NOTICE: /dev/sde: jmicron discovering
NOTICE: /dev/sde: lsi discovering
NOTICE: /dev/sde: nvidia discovering
NOTICE: /dev/sde: pdc discovering
NOTICE: /dev/sde: sil discovering
NOTICE: /dev/sde: via discovering
NOTICE: /dev/sdf: asr discovering
NOTICE: /dev/sdf: ddf1 discovering
NOTICE: /dev/sdf: hpt37x discovering
NOTICE: /dev/sdf: hpt45x discovering
NOTICE: /dev/sdf: isw discovering
NOTICE: /dev/sdf: isw metadata discovered
NOTICE: /dev/sdf: jmicron discovering
NOTICE: /dev/sdf: lsi discovering
NOTICE: /dev/sdf: nvidia discovering
NOTICE: /dev/sdf: pdc discovering
NOTICE: /dev/sdf: sil discovering
NOTICE: /dev/sdf: via discovering
NOTICE: /dev/sdb: asr discovering
NOTICE: /dev/sdb: ddf1 discovering
NOTICE: /dev/sdb: hpt37x discovering
NOTICE: /dev/sdb: hpt45x discovering
NOTICE: /dev/sdb: isw discovering
NOTICE: /dev/sdb: isw metadata discovered
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi discovering
NOTICE: /dev/sdb: nvidia discovering
NOTICE: /dev/sdb: pdc discovering
NOTICE: /dev/sdb: sil discovering
NOTICE: /dev/sdb: via discovering
NOTICE: /dev/sda: asr discovering
NOTICE: /dev/sda: ddf1 discovering
NOTICE: /dev/sda: hpt37x discovering
NOTICE: /dev/sda: hpt45x discovering
NOTICE: /dev/sda: isw discovering
NOTICE: /dev/sda: isw metadata discovered
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi discovering
NOTICE: /dev/sda: nvidia discovering
NOTICE: /dev/sda: pdc discovering
NOTICE: /dev/sda: sil discovering
NOTICE: /dev/sda: via discovering
NOTICE: /dev/sdc: asr discovering
NOTICE: /dev/sdc: ddf1 discovering
NOTICE: /dev/sdc: hpt37x discovering
NOTICE: /dev/sdc: hpt45x discovering
NOTICE: /dev/sdc: isw discovering
NOTICE: /dev/sdc: isw metadata discovered
NOTICE: /dev/sdc: jmicron discovering
NOTICE: /dev/sdc: lsi discovering
NOTICE: /dev/sdc: nvidia discovering
NOTICE: /dev/sdc: pdc discovering
NOTICE: /dev/sdc: sil discovering
NOTICE: /dev/sdc: via discovering
NOTICE: /dev/sdd: asr discovering
NOTICE: /dev/sdd: ddf1 discovering
NOTICE: /dev/sdd: hpt37x discovering
NOTICE: /dev/sdd: hpt45x discovering
NOTICE: /dev/sdd: isw discovering
NOTICE: /dev/sdd: isw metadata discovered
NOTICE: /dev/sdd: jmicron discovering
NOTICE: /dev/sdd: lsi discovering
NOTICE: /dev/sdd: nvidia discovering
NOTICE: /dev/sdd: pdc discovering
NOTICE: /dev/sdd: sil discovering
NOTICE: /dev/sdd: via discovering
INFO: RAID devices discovered:
/dev/sde: isw, "isw_jffegbfhc", GROUP, ok, 5860533166 sectors, data@ 0
/dev/sdf: isw, "isw_jffegbfhc", GROUP, ok, 5860533166 sectors, data@ 0
/dev/sdb: isw, "isw_deagibdgda", GROUP, ok, 125045422 sectors, data@ 0
/dev/sda: isw, "isw_deagibdgda", GROUP, ok, 125045422 sectors, data@ 0
/dev/sdc: isw, "isw_jffegbfhc", GROUP, ok, 5860533166 sectors, data@ 0
/dev/sdd: isw, "isw_jffegbfhc", GROUP, ok, 5860533166 sectors, data@ 0
WARN: unlocking /var/lock/dmraid/.lock
--- dmraid -s -vv output
NOTICE: /dev/sde: asr discovering
NOTICE: /dev/sde: ddf1 discovering
NOTICE: /dev/sde: hpt37x discovering
NOTICE: /dev/sde: hpt45x discovering
NOTICE: /dev/sde: isw discovering
NOTICE: /dev/sde: isw metadata discovered
NOTICE: /dev/sde: jmicron discovering
NOTICE: /dev/sde: lsi discovering
NOTICE: /dev/sde: nvidia discovering
NOTICE: /dev/sde: pdc discovering
NOTICE: /dev/sde: sil discovering
NOTICE: /dev/sde: via discovering
NOTICE: /dev/sdf: asr discovering
NOTICE: /dev/sdf: ddf1 discovering
NOTICE: /dev/sdf: hpt37x discovering
NOTICE: /dev/sdf: hpt45x discovering
NOTICE: /dev/sdf: isw discovering
NOTICE: /dev/sdf: isw metadata discovered
NOTICE: /dev/sdf: jmicron discovering
NOTICE: /dev/sdf: lsi discovering
NOTICE: /dev/sdf: nvidia discovering
NOTICE: /dev/sdf: pdc discovering
NOTICE: /dev/sdf: sil discovering
NOTICE: /dev/sdf: via discovering
NOTICE: /dev/sdb: asr discovering
NOTICE: /dev/sdb: ddf1 discovering
NOTICE: /dev/sdb: hpt37x discovering
NOTICE: /dev/sdb: hpt45x discovering
NOTICE: /dev/sdb: isw discovering
NOTICE: /dev/sdb: isw metadata discovered
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi discovering
NOTICE: /dev/sdb: nvidia discovering
NOTICE: /dev/sdb: pdc discovering
NOTICE: /dev/sdb: sil discovering
NOTICE: /dev/sdb: via discovering
NOTICE: /dev/sda: asr discovering
NOTICE: /dev/sda: ddf1 discovering
NOTICE: /dev/sda: hpt37x discovering
NOTICE: /dev/sda: hpt45x discovering
NOTICE: /dev/sda: isw discovering
NOTICE: /dev/sda: isw metadata discovered
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi discovering
NOTICE: /dev/sda: nvidia discovering
NOTICE: /dev/sda: pdc discovering
NOTICE: /dev/sda: sil discovering
NOTICE: /dev/sda: via discovering
NOTICE: /dev/sdc: asr discovering
NOTICE: /dev/sdc: ddf1 discovering
NOTICE: /dev/sdc: hpt37x discovering
NOTICE: /dev/sdc: hpt45x discovering
NOTICE: /dev/sdc: isw discovering
NOTICE: /dev/sdc: isw metadata discovered
NOTICE: /dev/sdc: jmicron discovering
NOTICE: /dev/sdc: lsi discovering
NOTICE: /dev/sdc: nvidia discovering
NOTICE: /dev/sdc: pdc discovering
NOTICE: /dev/sdc: sil discovering
NOTICE: /dev/sdc: via discovering
NOTICE: /dev/sdd: asr discovering
NOTICE: /dev/sdd: ddf1 discovering
NOTICE: /dev/sdd: hpt37x discovering
NOTICE: /dev/sdd: hpt45x discovering
NOTICE: /dev/sdd: isw discovering
NOTICE: /dev/sdd: isw metadata discovered
NOTICE: /dev/sdd: jmicron discovering
NOTICE: /dev/sdd: lsi discovering
NOTICE: /dev/sdd: nvidia discovering
NOTICE: /dev/sdd: pdc discovering
NOTICE: /dev/sdd: sil discovering
NOTICE: /dev/sdd: via discovering
NOTICE: added /dev/sde to RAID set "isw_jffegbfhc"
NOTICE: added /dev/sdf to RAID set "isw_jffegbfhc"
NOTICE: added /dev/sdb to RAID set "isw_deagibdgda"
NOTICE: added /dev/sda to RAID set "isw_deagibdgda"
NOTICE: added /dev/sdc to RAID set "isw_jffegbfhc"
NOTICE: added /dev/sdd to RAID set "isw_jffegbfhc"
*** Group superset isw_deagibdgda
--> Active Subset
name : isw_deagibdgda_root
size : 125040896
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
*** Group superset isw_jffegbfhc
--> Active Superset
name : isw_jffegbfhc_data
size : 3131113472
stride : 128
type : raid01
status : ok
subsets: 2
devs : 4
spares : 0
--- /proc/partitions:
major minor #blocks name
8 48 2930266584 sdd
8 32 2930266584 sdc
8 0 62522712 sda
8 1 248832 sda1
8 2 1 sda2
8 5 62269440 sda5
8 16 62522712 sdb
8 17 248832 sdb1
8 18 1 sdb2
8 21 62269440 sdb5
8 80 2930266584 sdf
8 64 2930266584 sde
254 1 62520452 dm-1
254 0 248832 dm-0
254 3 62269440 dm-3
254 5 62267392 dm-5
254 6 59691008 dm-6
254 2 782778372 dm-2
254 4 782778372 dm-4
254 7 1565556736 dm-7
--- initrd.img-3.2.0-4-amd64:
68194 blocks
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-crypt.ko
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-log.ko
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-region-hash.ko
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-snapshot.ko
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-mod.ko
lib/modules/3.2.0-4-amd64/kernel/drivers/md/dm-mirror.ko
--- /proc/modules:
dm_crypt 22586 1 - Live 0xffffffffa00fc000
dm_mirror 17707 3 - Live 0xffffffffa00d5000
dm_region_hash 13502 1 dm_mirror, Live 0xffffffffa00f0000
dm_log 13528 5 dm_mirror,dm_region_hash, Live 0xffffffffa009e000
dm_mod 63645 22 dm_crypt,dm_mirror,dm_log, Live 0xffffffffa015d000
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/silent-root ro quiet
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dmraid depends on:
ii dmsetup 2:1.02.74-7
ii libc6 2.13-38
ii libdmraid1.0.0.rc16 1.0.0.rc16-4.2
ii libselinux1 2.1.9-5
ii libsepol1 2.1.4-3
ii udev 175-7.2
dmraid recommends no packages.
dmraid suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]