[root@localhost ~]# multipath -ll
mpathm (23439373862623830) dm-2 SCST_BIO,v1455588388735
size=4.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 8:0:0:0 sdc 8:32 active ready running
`- 7:0:0:0 sdb 8:16 active ready running
mpathk (23162333230393530) dm-4 SCST_BIO,v1455527785553
size=1.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 22:0:0:0 sde 8:64 active ready running
`- 21:0:0:0 sdd 8:48 active ready running
[root@localhost ~]# fdisk -l /dev/mapper/mpathm
Note: sector size is 4096 (not 512)
Disk /dev/mapper/mpathm: 4398.0 GB, 4398046511104 bytes
255 heads, 63 sectors/track, 66837 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 524288 bytes
Disk identifier: 0x00000000
[root@localhost ~]# multipath -F
[root@localhost ~]# multipath -v0
[root@localhost ~]# ll /dev/mapper/mpathm
lrwxrwxrwx. 1 root root 7 Feb 16 15:30 /dev/mapper/mpathm -> ../dm-2
[root@localhost ~]# pvcreate /dev/mapper/mpathm
Physical volume "/dev/mapper/mpathm" successfully created
[root@localhost ~]# vgcreate test /dev/mapper/mpathm
Volume group "test" successfully created
[root@localhost ~]# lvcreate -L 4t -n lvl test
Volume group "test" has insufficient free space (1048575 extents): 1048576 required.
[root@localhost ~]# lvcreate -L 3t -n lvl test
Logical volume "lvl" created
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Path /dev/test/lvl
LV Name lvl
VG Name test
LV UUID qwbr0p-bNcu-njDB-A1aW-VAFs-D9Xx-O9ZPHC
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-02-16 15:33:44 +0800
LV Status available
# open 0
LV Size 3.00 TiB
Current LE 786432
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
--- Logical volume ---
LV Path /dev/VolGroup/lv_root
LV Name lv_root
VG Name VolGroup
LV UUID H0O8ec-5neO-fcGb-bB3P-p8I9-2Xsp-JM0dGL
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:31:48 +0800
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/VolGroup/lv_home
LV Name lv_home
VG Name VolGroup
LV UUID oluJB0-2IdB-DXkZ-HHbX-iVJb-lNqm-JOFmXq
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:31:50 +0800
LV Status available
# open 1
LV Size 492.19 GiB
Current LE 126000
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Path /dev/VolGroup/lv_swap
LV Name lv_swap
VG Name VolGroup
LV UUID OysXwV-I7fT-c7Mo-03cb-bTo9-Du4H-WSNK8p
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:32:43 +0800
LV Status available
# open 1
LV Size 15.70 GiB
Current LE 4018
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
[root@localhost ~]# mkfs.ext3 /dev/test/lvl
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=128 blocks
201326592 inodes, 805306368 blocks
40265318 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
24576 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mpathm (23439373862623830) dm-2 SCST_BIO,v1455588388735
size=4.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 8:0:0:0 sdc 8:32 active ready running
`- 7:0:0:0 sdb 8:16 active ready running
mpathk (23162333230393530) dm-4 SCST_BIO,v1455527785553
size=1.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 22:0:0:0 sde 8:64 active ready running
`- 21:0:0:0 sdd 8:48 active ready running
[root@localhost ~]# fdisk -l /dev/mapper/mpathm
Note: sector size is 4096 (not 512)
Disk /dev/mapper/mpathm: 4398.0 GB, 4398046511104 bytes
255 heads, 63 sectors/track, 66837 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 524288 bytes
Disk identifier: 0x00000000
[root@localhost ~]# multipath -F
[root@localhost ~]# multipath -v0
[root@localhost ~]# ll /dev/mapper/mpathm
lrwxrwxrwx. 1 root root 7 Feb 16 15:30 /dev/mapper/mpathm -> ../dm-2
[root@localhost ~]# pvcreate /dev/mapper/mpathm
Physical volume "/dev/mapper/mpathm" successfully created
[root@localhost ~]# vgcreate test /dev/mapper/mpathm
Volume group "test" successfully created
[root@localhost ~]# lvcreate -L 4t -n lvl test
Volume group "test" has insufficient free space (1048575 extents): 1048576 required.
[root@localhost ~]# lvcreate -L 3t -n lvl test
Logical volume "lvl" created
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Path /dev/test/lvl
LV Name lvl
VG Name test
LV UUID qwbr0p-bNcu-njDB-A1aW-VAFs-D9Xx-O9ZPHC
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-02-16 15:33:44 +0800
LV Status available
# open 0
LV Size 3.00 TiB
Current LE 786432
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
--- Logical volume ---
LV Path /dev/VolGroup/lv_root
LV Name lv_root
VG Name VolGroup
LV UUID H0O8ec-5neO-fcGb-bB3P-p8I9-2Xsp-JM0dGL
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:31:48 +0800
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/VolGroup/lv_home
LV Name lv_home
VG Name VolGroup
LV UUID oluJB0-2IdB-DXkZ-HHbX-iVJb-lNqm-JOFmXq
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:31:50 +0800
LV Status available
# open 1
LV Size 492.19 GiB
Current LE 126000
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Path /dev/VolGroup/lv_swap
LV Name lv_swap
VG Name VolGroup
LV UUID OysXwV-I7fT-c7Mo-03cb-bTo9-Du4H-WSNK8p
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2016-01-29 16:32:43 +0800
LV Status available
# open 1
LV Size 15.70 GiB
Current LE 4018
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
[root@localhost ~]# mkfs.ext3 /dev/test/lvl
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=128 blocks
201326592 inodes, 805306368 blocks
40265318 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
24576 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.