Archive for the 'linux.need-guide.com' Category

Create mapper for disk

Posted on March 19 2010 by admin

[root@x mapper]# dmsetup create sanraw << EOF > 0 204800 linear /dev/sda2 0
> EOF
[root@x mapper]# ls
[root@x mapper]# dmsetup create sanraw << EOF > 0 204800 striped 2 128 /dev/sda2 0 /dev/sda3 0
> EOF
[root@x mapper]# ls
[root@x mapper]# dmsetup ls –tree
sanraw (253:3)
ââ (8:2)
sandisk1 (253:5)
ââ (8:5)
VolGroup00-LogVol02 (253:1)
ââ (3:2)
VolGroup00-LogVol01 (253:2)
ââ (3:2)
VolGroup00-LogVol00 (253:0)
ââ (3:2)
data-datasan1 (253:4)
ââ (8:1)
[root@x mapper]# ls -la /dev/sda*
brw-r—– [...]

Linux Multipath

Posted on March 19 2010 by admin

Over the past couple of years a flurry of OS Native multipathing solutions have become available. As a result we are seeing a trend towards these solutions and away from vendor specific multipathing software.
The latest OS Native multipathing solution is Device Mappper-Multipath (DM-Multipath) available with Red Hat Enterprise Linux 4.0 U2 and SuSE SLES 9.0 [...]