[zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Jean-Paul Rivet
I've been searching without success if this has been done or even discussed previously. Would it be possible now or in the future to use an SD Card on a laptop as a cache for ZFS? I've been trying to do this with OpenSolaris 1108 on a Dell XPS M1530 laptop. The SD Card is presented as /dev/rds

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 9:31 AM, Jean-Paul Rivet wrote: > I've been searching without success if this has been done or even discussed > previously. > > Would it be possible now or in the future to use an SD Card on a laptop as a > cache for ZFS? > When using 'pfexec zpool add rpool cache c8t0d0'

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Jean-Paul Rivet
> >From that error message I believe the problem is not > on "laptop" or > "SD Card". It's because you're trying to add cache to > root pool. > > Try adding it to another pool. It should work. Thanks for the response. Being a laptop I don't have other pools to choose from - just the rpool:) So

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Andrew Gabriel
Jean-Paul Rivet wrote: > I've been searching without success if this has been done or even discussed > previously. > > Would it be possible now or in the future to use an SD Card on a laptop as a > cache for ZFS? > > I've been trying to do this with OpenSolaris 1108 on a Dell XPS M1530 laptop. >

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-04 Thread Cindy . Swearingen
Jean-Paul, Our goofy disk formatting is tripping you... Put the disk space of c8t0d0 in c8t0d0s0 and try the zpool add syntax again. If you need help with the format syntax, let me know. This command syntax should have complained: pfexec zpool add rpool cache /dev/rdsk/c8t0d0 See the zpool syn

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-04 Thread Jean-Paul Rivet
> Anyway, you could try simply creating standard > FDISK/Solaris/vtoc > partitioning on the SD card, with all the free space > contained in one > slice, and give that slice to ZFS. This is what I've done so far. fdisk - Total disk size is 1943 cylinders Cylinder size is 4096 (51

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-04 Thread Jean-Paul Rivet
> Put the disk space of c8t0d0 in c8t0d0s0 and try the > zpool add syntax again. If you need help with the > format syntax, let me know. > > This command syntax should have complained: > > pfexec zpool add rpool cache /dev/rdsk/c8t0d0 > > See the zpool syntax below for pointers. > > Cindy I've

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-04 Thread Cindy . Swearingen
Jean-Paul, Regarding your comments here: Expected because s0 is defined as 0 bytes in the partition table I presume? Yes, you need to put the disk space into s0 by using the format utility. Use the modify option from format's partition menu is probably the easiest way. Email me directly if you n

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-06-01 Thread Daniel Carosone
Did anyone ever have success with this? I'm trying to add a usb flash device as rpool cache, and am hitting the same problem, even after working through the SMI/EFI label and other issues above. r...@asura:~# zpool add rpool cache /dev/dsk/c6t0d0s0 invalid vdev specification use '-f' to override

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-06-13 Thread Martin
> Did anyone ever have success with this? > I'm trying to add a usb flash device as rpool cache, and am hitting the same > problem, > even after working through the SMI/EFI label and other issues above. I played with adding a USB stick as L2ARC a few versions ago of SXCE, pre 104. At the time,