1. Connect USB storage device (a disk) to machine
2. Find USB device through rmformat
3. Try zpool create on that device. It fails with:
   can't open "/dev/rdsk/cNt0d0p0", device busy

If your disk was originally formatted with pcfs or ufs, it would be automounted when connected. If you didn't unmount it prior to zpool create, that might be the problem. If that's the case, you might not actually need all the fdi hackery, simply unmount the disk, e.g.:

$ rmmount -l
/dev/dsk/c2t0d0p0:1    rmdisk,rmdisk0,CRUZER,/media/CRUZER
$ rmumount rmdisk0
rmdisk0 /dev/dsk/c2t0d0p0:1 unmounted


-Artem.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to