Sunday, October 19, 2008

Brand new USB pen.

So while I was shopping for caffeine supplements in the *super* market I saw a 2GB USB pen for 5$AU. As it had "Linux support" on the front over I though I would buy it out of principle and the fact that I need some flash storage.

Here is what I did when I plugged it in:

Intel(r) Pentium(r) Dual CPU E2180 @ 2.00GHz
[edward@SXCE-Workstation]:/export/home/edward:~>/usr/bin/rmformat
Looking for devices...
1. Logical Node: /dev/rdsk/c0t1d0p0
Physical Node: /pci@0,0/pci-ide@1f,2/ide@0/sd@1,0
Connected Device: HL-DT-ST DVDRAM GSA-H62N CL00
Device Type: CD Reader
Bus: IDE
Size:
Label:
Access permissions:
2. Logical Node: /dev/rdsk/c2t0d0p0
Physical Node: /pci@0,0/pci1458,5006@1d,7/storage@6/disk@0,0
Connected Device: Verbatim Store'n'Go Mini 1.30
Device Type: Removable
Bus: USB
Size: 1.9 GB
Label:
Access permissions: Medium is not write protected.

[edward@SXCE-Workstation]:/export/home/edward:~>mount | tail -n 1
/media/STORE'N'GO on /dev/dsk/c2t0d0p0 read/write/nosetuid/nodevices/hidden/nofoldcase/clamptime/noatime/timezone=-36000/dev=6c0090 on Sun Oct 19 11:22:17 2008

[edward@SXCE-Workstation]:/export/home/edward:~>/usr/bin/pfexec umount /dev/dsk/c2t0d0p0

[edward@SXCE-Workstation]:/export/home/edward:~>pfexec zpool create MYDATA c2t0d0

[edward@SXCE-Workstation]:/export/home/edward:~>zpool status
pool: MYDATA
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
MYDATA ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0

errors: No known data errors

pool: rpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c0d0s0 ONLINE 0 0 0

errors: No known data errors

[edward@SXCE-Workstation]:/export/home/edward:~>zfs list | grep -i MYDATA
MYDATA 69K 1.83G 18K /MYDATA

I can only conclude one thing from this.
Solaris needs to support auto mounting of usb pens that are formated with the ZFS FS.

~

1 comment:

Anonymous said...

Agreed with Solaris not auto mounting ZFS formatted removable media.

It would be nice to see some graphical tools in Gnome to format media with different filesystems also...it would upset the cli purists i'm sure =-)