Ulli Horlacher
2013-09-02 14:05:51 UTC
I have added a new hard disk and created a new partition table:
***@vms3:~# fdisk -l /dev/sde
Disk /dev/sde: 2000.0 GB, 1999999336448 bytes
255 heads, 63 sectors/track, 243152 cylinders, total 3906248704 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0cc24132
Device Boot Start End Blocks Id System
/dev/sde1 2048 67110911 33554432 83 Linux
/dev/sde2 67110912 134219775 33554432 83 Linux
/dev/sde3 134219776 3906248703 1886014464 bf Solaris
But when I try to set up a new zpool for zfs I get:
***@vms3:~# zpool create -m /zfs/data data /dev/sde3
cannot open '/dev/sde3': Device or resource busy
cannot create 'data': one or more vdevs refer to the same device, or one of
the devices is part of an active md or lvm device
Why?
/dev/sde is completly new and unused, I do not have any md or lvm devices.
Old is:
***@vms3:~# ll /zfs/
drwxr-xr-x root root - 2013-08-03 23:38:27 /zfs/lxc
drwxr-xr-x root root - 2013-08-11 10:50:41 /zfs/test
***@vms3:~# zpool list -v
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
lxc 992G 63.0G 929G 6% 1.00x ONLINE -
243556e4a386c3176-part1 992G 63.0G 929G -
test 14.9G 11.2M 14.9G 0% 1.00x ONLINE -
scsi-3600508e000000000acd4127796c80b0f-part3 14.9G 11.2M 14.9G -
***@vms3:~# fdisk -l /dev/sde
Disk /dev/sde: 2000.0 GB, 1999999336448 bytes
255 heads, 63 sectors/track, 243152 cylinders, total 3906248704 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0cc24132
Device Boot Start End Blocks Id System
/dev/sde1 2048 67110911 33554432 83 Linux
/dev/sde2 67110912 134219775 33554432 83 Linux
/dev/sde3 134219776 3906248703 1886014464 bf Solaris
But when I try to set up a new zpool for zfs I get:
***@vms3:~# zpool create -m /zfs/data data /dev/sde3
cannot open '/dev/sde3': Device or resource busy
cannot create 'data': one or more vdevs refer to the same device, or one of
the devices is part of an active md or lvm device
Why?
/dev/sde is completly new and unused, I do not have any md or lvm devices.
Old is:
***@vms3:~# ll /zfs/
drwxr-xr-x root root - 2013-08-03 23:38:27 /zfs/lxc
drwxr-xr-x root root - 2013-08-11 10:50:41 /zfs/test
***@vms3:~# zpool list -v
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
lxc 992G 63.0G 929G 6% 1.00x ONLINE -
243556e4a386c3176-part1 992G 63.0G 929G -
test 14.9G 11.2M 14.9G 0% 1.00x ONLINE -
scsi-3600508e000000000acd4127796c80b0f-part3 14.9G 11.2M 14.9G -
--
Ullrich Horlacher Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK E-Mail: horlacher-Jqd5/X81recL63KmMnjC+***@public.gmane.org
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<20130902140551.GA13842-otB+qtk3XKcL63KmMnjC+***@public.gmane.org>
To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+unsubscribe-VKpPRiiRko7s4Z89Ie/***@public.gmane.org
Ullrich Horlacher Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK E-Mail: horlacher-Jqd5/X81recL63KmMnjC+***@public.gmane.org
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<20130902140551.GA13842-otB+qtk3XKcL63KmMnjC+***@public.gmane.org>
To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+unsubscribe-VKpPRiiRko7s4Z89Ie/***@public.gmane.org