Re: [zfs-discuss] Case study/recommended ZFS setup for home file server

2008-07-17 Thread Florin Iucha
On Wed, Jul 09, 2008 at 11:18:23PM -0500, Florin Iucha wrote: > On Wed, Jul 09, 2008 at 06:02:24PM -0700, Brandon High wrote: > > Here's the component list that I'm planning to use right now: > > http://secure.newegg.com/WishList/PublicWishDetail.aspx?Source=MSWD&WishListNumber=7739092 > > this l

Re: [zfs-discuss] i/o error on new disks?

2008-07-17 Thread Alan
I swear I tried that and got "file not found", but lo! it worked. argh! thanks... This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] i/o error on new disks?

2008-07-17 Thread James C. McPherson
Alan wrote: > We just got a new system to use as a zfs file server with 8 drives on 2 > controllers. I've installed on and mirrored c4t0d0s0 and c5t0d0s0, and am > now trying to create a mirrored set out of the rest of the disks, however all > of them are giving me i/o errors, e.g.: > > # unam

[zfs-discuss] checksum errors on root pool after upgrade to snv_94

2008-07-17 Thread Bill Sommerfeld
I ran a scrub on a root pool after upgrading to snv_94, and got checksum errors: pool: r00t state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to

[zfs-discuss] i/o error on new disks?

2008-07-17 Thread Alan
We just got a new system to use as a zfs file server with 8 drives on 2 controllers. I've installed on and mirrored c4t0d0s0 and c5t0d0s0, and am now trying to create a mirrored set out of the rest of the disks, however all of them are giving me i/o errors, e.g.: # uname -a SunOS zfs01.server.

Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Nathan Kroenert
In one of my prior experiments, I included the names of the snapshots I created in a plain text file. I used this file, and not the zfs list output to determine which snapshots I was going to remove when it came time. I don't even remember *why* I did that in the first place, but it certainly

Re: [zfs-discuss] RFE: -t flag for 'zfs destroy'

2008-07-17 Thread James C. McPherson
Will Murnane wrote: > On Thu, Jul 17, 2008 at 17:05, Chad Lewis <[EMAIL PROTECTED]> wrote: >> http://www.opensolaris.org/bug/report.jspa >> >> You'll need an OpenSolaris.org account to file the RFE of course. > Thanks for the link. I've filed an RFE, but don't see it yet; is > there a better way t

Re: [zfs-discuss] RFE: -t flag for 'zfs destroy'

2008-07-17 Thread Will Murnane
On Thu, Jul 17, 2008 at 17:05, Chad Lewis <[EMAIL PROTECTED]> wrote: > http://www.opensolaris.org/bug/report.jspa > > You'll need an OpenSolaris.org account to file the RFE of course. Thanks for the link. I've filed an RFE, but don't see it yet; is there a better way than "text search for things I

Re: [zfs-discuss] RFE: -t flag for 'zfs destroy'

2008-07-17 Thread Chad Lewis
http://www.opensolaris.org/bug/report.jspa You'll need an OpenSolaris.org account to file the RFE of course. On Jul 17, 2008, at 10:52 AM, Will Murnane wrote: > I would like to request an additional flag for the command line zfs > tools. Specifically, I'd like to have a -t flag for "zfs destro

Re: [zfs-discuss] How do you grow a ZVOL?

2008-07-17 Thread Albert Chin
On Thu, Jul 17, 2008 at 04:28:34PM -0400, Charles Menser wrote: > I've looked for anything I can find on the topic, but there does not > appear to be anything documented. > > Can a ZVOL be expanded? I think setting the volsize property expands it. Dunno what happens on the clients though. -- al

[zfs-discuss] How do you grow a ZVOL?

2008-07-17 Thread Charles Menser
I've looked for anything I can find on the topic, but there does not appear to be anything documented. Can a ZVOL be expanded? In particular, can a ZVOL sharded via iscsi be expanded? Thanks, Charles ___ zfs-discuss mailing list zfs-discuss@opensolaris

Re: [zfs-discuss] RFE: -t flag for 'zfs destroy'

2008-07-17 Thread Mario Goebbels
> zfs destroy -t flag Thumbs up for this. Plus asking for an -i flag, for interactive mode, handy on things like zfs destroy. -mg ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

[zfs-discuss] RFE: -t flag for 'zfs destroy'

2008-07-17 Thread Will Murnane
I would like to request an additional flag for the command line zfs tools. Specifically, I'd like to have a -t flag for "zfs destroy", as shown below. Suppose I have a pool "home" with child filesystem "will", and a snapshot "home/[EMAIL PROTECTED]". Then I run the following commands: # zfs dest

Re: [zfs-discuss] zfs sparc boot "Bad magic number in disk label"

2008-07-17 Thread Cindy . Swearingen
Hi Joe, It is possible that your c0t1d0s0 disk has an existing EFI label instead of a VTOC label? (You can tell by using format-->disk-->partition and see if the cylinder info is displayed. If no cylinder info, then an EFI label.) Relabel with a VTOC label, like this: # format -e select disk fo

[zfs-discuss] zfs sparc boot "Bad magic number in disk label"

2008-07-17 Thread Joe Stone
Hello, I recently installed SunOS 5.11 snv_91 onto a Ultra 60 UPA/PCI with OpenBoot 3.31 and two 300GB SCSI disks. The root file system is UFS on c0t0d0s0. Following the steps in ZFS Admin I have attempted to convert root to ZFS utilizing c0t1d0s0. However, upon "init 6" I am always presented w

Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Bob Friesenhahn
On Thu, 17 Jul 2008, Ben Rockwood wrote: > zfs list is mighty slow on systems with a large number of objects, > but there is no foreseeable plan that I'm aware of to solve that > "problem". > > Never the less, you need to do a zfs list, therefore, do it once and > work from that. If the snapsh

Re: [zfs-discuss] ZFS with STMS/MPXIO

2008-07-17 Thread Bob Friesenhahn
On Thu, 17 Jul 2008, James C. McPherson wrote: >>> >>> I don't understand what you mean by "Odd requirement to update >>> /etc/vfstab" >>> - when we turn on mpxio the device paths change, so any fs that's not >>> ZFS will require repointing, as it were. One of the issues I've come >> >> It was a

Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Daniel Rock
Sylvain Dusart schrieb: > Hi Joe, > > I use this script to delete my empty snapshots : > > #!/bin/bash > > NOW=$(date +%Y%m%d-%H%M%S) > > POOL=tank > > zfs snapshot -r [EMAIL PROTECTED] > > FS_WITH_SNAPSHOTS=$(zfs list -t snapshot | grep '@' | cut -d '@' -f 1 | uniq) > > for fs in $FS_WITH_S

Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Sylvain Dusart
Hi Joe, I use this script to delete my empty snapshots : #!/bin/bash NOW=$(date +%Y%m%d-%H%M%S) POOL=tank zfs snapshot -r [EMAIL PROTECTED] FS_WITH_SNAPSHOTS=$(zfs list -t snapshot | grep '@' | cut -d '@' -f 1 | uniq) for fs in $FS_WITH_SNAPSHOTS ; do EMPTY_SNAPSHOTS=$(zfs list -t s

Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Ben Rockwood
zfs list is mighty slow on systems with a large number of objects, but there is no foreseeable plan that I'm aware of to solve that "problem". Never the less, you need to do a zfs list, therefore, do it once and work from that. zfs list > /tmp/zfs.out for i in `grep mydataset@ /tmp/zfs.out`;