partition a mappered device using multipath
Hi,
I have installed multipath and I could see all the mapped devices under /dev/mappper/. I could use "fdisk" to do the partition on mappered devices. However, when I use "sfdisk", it doesn't work, and see following error messages. I need to use "sfdisk" for scripting. Help please.
root@localhost:/root> sfdisk -uM /dev/mapper/3600c0ff0000000000a90447c427cdf00
Checking that no-one is using this disk right now ...
BLKRRPART: Invalid argument
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Use the --force flag to overrule all checks.
Thanks,
smile2
|