[zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
Hi, zpool does not to create a pool on USB disk (formatted in FAT32). # /usr/sbin/zpool create alpha c5t0d0p0 cannot open '/dev/dsk/c5t0d0p0': Device busy or # /usr/sbin/zpool create alpha /dev/rdsk/c5t0d0p0 cannot use '/dev/rdsk/c5t0d0p0': must be a block device or regular file What is gonna

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 18:10:14 +0100 Andrius [EMAIL PROTECTED] wrote: zpool does not to create a pool on USB disk (formatted in FAT32). It's already been formatted. Try zpool create -f alpha c5t0d0p0 -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv90 ++

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
dick hoogendijk wrote: On Mon, 16 Jun 2008 18:10:14 +0100 Andrius [EMAIL PROTECTED] wrote: zpool does not to create a pool on USB disk (formatted in FAT32). It's already been formatted. Try zpool create -f alpha c5t0d0p0 The same story # /usr/sbin/zpool create -f alpha c5t0d0p0 cannot

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 18:23:35 +0100 Andrius [EMAIL PROTECTED] wrote: The same story # /usr/sbin/zpool create -f alpha c5t0d0p0 cannot open '/dev/dsk/c5t0d0p0': Device busy Are you sure you're not on that device? Are you also sure your usb stick is called c5t0d0p0? What does rmformat (as

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
dick hoogendijk wrote: On Mon, 16 Jun 2008 18:23:35 +0100 Andrius [EMAIL PROTECTED] wrote: The same story # /usr/sbin/zpool create -f alpha c5t0d0p0 cannot open '/dev/dsk/c5t0d0p0': Device busy Are you sure you're not on that device? Are you also sure your usb stick is called c5t0d0p0? What

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Neal Pollack
Andrius wrote: dick hoogendijk wrote: On Mon, 16 Jun 2008 18:10:14 +0100 Andrius [EMAIL PROTECTED] wrote: zpool does not to create a pool on USB disk (formatted in FAT32). It's already been formatted. Try zpool create -f alpha c5t0d0p0 The same story #

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
Neal Pollack wrote: Andrius wrote: dick hoogendijk wrote: On Mon, 16 Jun 2008 18:10:14 +0100 Andrius [EMAIL PROTECTED] wrote: zpool does not to create a pool on USB disk (formatted in FAT32). It's already been formatted. Try zpool create -f alpha c5t0d0p0 The same story

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 18:38:11 +0100 Andrius [EMAIL PROTECTED] wrote: The device is on, but it is empty. It is not a stick, it is a mobile hard disk Iomega 160 GB. Like Neal writes: check if the drive is mounted. Do a df -h Unmount it if neccessary (umount /dev/dsk/c5t0d0) and then do a zpool

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Neal Pollack
Andrius wrote: Neal Pollack wrote: Andrius wrote: dick hoogendijk wrote: On Mon, 16 Jun 2008 18:10:14 +0100 Andrius [EMAIL PROTECTED] wrote: zpool does not to create a pool on USB disk (formatted in FAT32). It's already been formatted. Try zpool create -f alpha c5t0d0p0

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 20:00:59 +0200 dick hoogendijk [EMAIL PROTECTED] wrote: Unmount it if neccessary (umount /dev/dsk/c5t0d0) Should be /dev/dsk/c5t1d0 -- -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv90 ++ ___

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 20:04:08 +0200 dick hoogendijk [EMAIL PROTECTED] wrote: Should be /dev/dsk/c5t1d0 -- Sh***t! No it should not. rmformat showed c5t0d0, didn't it? So be careful. A typo is quickly made (see my msgs) ;-) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ +

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
Miles Nordin wrote: a == Andrius [EMAIL PROTECTED] writes: a # umount /dev/rdsk/c5t0d0p0 maybe there is another problem, too, but this is wrong. type 'df -k' as he suggested and use the device or pathname listed there. This is end of df -k /vol/dev/dsk/c5t0d0/unnamed_rmdisk:c

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
dick hoogendijk wrote: On Mon, 16 Jun 2008 18:54:04 +0100 Andrius [EMAIL PROTECTED] wrote: That is true, disc is detected automatically. But # umount /dev/rdsk/c5t0d0p0 umount: warning: /dev/rdsk/c5t0d0p0 not in mnttab umount /dev/dsk/c5t0d0 should do it. The same # umount

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread dick hoogendijk
On Mon, 16 Jun 2008 19:10:18 +0100 Andrius [EMAIL PROTECTED] wrote: /rmdisk/unnamed_rmdisk umount /rmdisk/unnamed_rmdisk should do the trick It's probably also mounted on /media depending on your solaris version. If so, umount /media/unnamed_rmdisk unmounts the disk too. -- Dick Hoogendijk --

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
dick hoogendijk wrote: On Mon, 16 Jun 2008 20:00:59 +0200 dick hoogendijk [EMAIL PROTECTED] wrote: Unmount it if neccessary (umount /dev/dsk/c5t0d0) Should be /dev/dsk/c5t1d0 -- Still the same # umount /dev/rdsk/c5t1d0 umount: warning: /dev/rdsk/c5t1d0 not in mnttab umount:

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
dick hoogendijk wrote: On Mon, 16 Jun 2008 19:10:18 +0100 Andrius [EMAIL PROTECTED] wrote: /rmdisk/unnamed_rmdisk umount /rmdisk/unnamed_rmdisk should do the trick It's probably also mounted on /media depending on your solaris version. If so, umount /media/unnamed_rmdisk unmounts the disk

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Martin Winkelman
On Mon, 16 Jun 2008, Andrius wrote: dick hoogendijk wrote: On Mon, 16 Jun 2008 19:10:18 +0100 Andrius [EMAIL PROTECTED] wrote: /rmdisk/unnamed_rmdisk umount /rmdisk/unnamed_rmdisk should do the trick It's probably also mounted on /media depending on your solaris version. If so, umount

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
Martin Winkelman wrote: On Mon, 16 Jun 2008, Andrius wrote: dick hoogendijk wrote: On Mon, 16 Jun 2008 19:10:18 +0100 Andrius [EMAIL PROTECTED] wrote: /rmdisk/unnamed_rmdisk umount /rmdisk/unnamed_rmdisk should do the trick It's probably also mounted on /media depending on your solaris

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Martin Winkelman
On Mon, 16 Jun 2008, Andrius wrote: # eject /rmdisk/unnamed_rmdisk No such file or directory # eject /dev/rdsk/c5t0d0s0 /dev/rdsk/c5t0d0s0 is busy (try 'eject floppy' or 'eject cdrom'?) # eject rmdisk /vol/dev/rdsk/c5t0d0/unnamed_rmdisk: Inappropriate ioctl for device # eject

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Andrius
Martin Winkelman wrote: On Mon, 16 Jun 2008, Andrius wrote: # eject /rmdisk/unnamed_rmdisk No such file or directory # eject /dev/rdsk/c5t0d0s0 /dev/rdsk/c5t0d0s0 is busy (try 'eject floppy' or 'eject cdrom'?) # eject rmdisk /vol/dev/rdsk/c5t0d0/unnamed_rmdisk: Inappropriate ioctl for device #

Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Paul Gress
Since Volume Management has control and eject didn't work, just turning off Volume Management will do the trick. # svcadm disable volfs Now you can remove it safely. Paul ___ zfs-discuss mailing list zfs-discuss@opensolaris.org