Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-21 Thread Marius Nünnerich
On Fri, Nov 20, 2009 at 23:20, Daniel O'Connor docon...@gsoft.com.au wrote: On Sat, 21 Nov 2009, Marius Nünnerich wrote: On Fri, Nov 20, 2009 at 14:27, Daniel O'Connor docon...@gsoft.com.au wrote: On Fri, 20 Nov 2009, Marius Nünnerich wrote: Actually that is an interesting point, the swap

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-21 Thread Daniel O'Connor
On Sat, 21 Nov 2009, Marius Nünnerich wrote: Maybe. Could you paste kern.geom.confdot, kern.geom.confxml and mount output to pastie.org or the like. I've attached it.. Hmm, I do not see whats wrong here. ZFS already opened the devices and I see no /dev/gpt/* entries. Maybe there is some

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Marius Nünnerich
On Fri, Nov 20, 2009 at 01:48, Daniel O'Connor docon...@gsoft.com.au wrote: On Thu, 19 Nov 2009, Tom Evans wrote: On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor docon...@gsoft.com.auwrote: On Thu, 19 Nov 2009, Marius Nünnerich wrote:  operator    0, 164 Oct 21 15:34

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Daniel O'Connor
On Fri, 20 Nov 2009, Marius Nünnerich wrote: Maybe the UUID label got their first so it won't have an alias (although the UUID is an alias for /dev/ad4p2..) Maybe that's been asked already but what version are you using? Does glabel work at all? 8.0-RC1 glabel works fine, I use it for

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Marius Nünnerich
On Fri, Nov 20, 2009 at 13:32, Daniel O'Connor docon...@gsoft.com.au wrote: On Fri, 20 Nov 2009, Marius Nünnerich wrote: Maybe the UUID label got their first so it won't have an alias (although the UUID is an alias for /dev/ad4p2..) Maybe that's been asked already but what version are you

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Daniel O'Connor
On Fri, 20 Nov 2009, Marius Nünnerich wrote: Actually that is an interesting point, the swap partitions don't have an entry in /dev/gptid, although perhaps that is because glabel has grabbed that node. If I remember correctly nodes vanish when another name for the same device is opened.

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Marius Nünnerich
On Fri, Nov 20, 2009 at 14:27, Daniel O'Connor docon...@gsoft.com.au wrote: On Fri, 20 Nov 2009, Marius Nünnerich wrote: Actually that is an interesting point, the swap partitions don't have an entry in /dev/gptid, although perhaps that is because glabel has grabbed that node. If I

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-20 Thread Daniel O'Connor
On Sat, 21 Nov 2009, Marius Nünnerich wrote: On Fri, Nov 20, 2009 at 14:27, Daniel O'Connor docon...@gsoft.com.au wrote: On Fri, 20 Nov 2009, Marius Nünnerich wrote: Actually that is an interesting point, the swap partitions don't have an entry in /dev/gptid, although perhaps that is

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-19 Thread Marius Nünnerich
On Thu, Nov 19, 2009 at 01:53, Daniel O'Connor docon...@gsoft.com.au wrote: On Sun, 15 Nov 2009, Daniel O'Connor wrote:   There's no need to detach anything. I'll try it when I get home and see how it goes. Unfortunately I get.. [midget 11:20] ~ sudo zpool replace tank ad4p2

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-19 Thread Daniel O'Connor
On Thu, 19 Nov 2009, Marius Nünnerich wrote:  operator    0, 164 Oct 21 15:34 /dev/gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc Have you tried naming the GPT partitions and using /dev/gpt/* ? Nope, how would I do that? I'd be surprised if it worked TBH.. -- Daniel O'Connor software and

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-19 Thread Tom Evans
On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor docon...@gsoft.com.auwrote: On Thu, 19 Nov 2009, Marius Nünnerich wrote: operator0, 164 Oct 21 15:34 /dev/gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc Have you tried naming the GPT partitions and using /dev/gpt/* ? Nope, how would

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-19 Thread Marius Nünnerich
On Thu, Nov 19, 2009 at 13:44, Tom Evans tevans...@googlemail.com wrote: On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor docon...@gsoft.com.au wrote: On Thu, 19 Nov 2009, Marius Nünnerich wrote:  operator    0, 164 Oct 21 15:34 /dev/gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc Have

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-19 Thread Daniel O'Connor
On Thu, 19 Nov 2009, Tom Evans wrote: On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor docon...@gsoft.com.auwrote: On Thu, 19 Nov 2009, Marius Nünnerich wrote: operator0, 164 Oct 21 15:34 /dev/gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc Have you tried naming the GPT

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-18 Thread Daniel O'Connor
On Sun, 15 Nov 2009, Daniel O'Connor wrote: There's no need to detach anything. I'll try it when I get home and see how it goes. How can I show what partition has what UUID? gpart list and gpart show do not say.. I suspect if I booted verbose glabel would say but that is a bit annoying :)

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-18 Thread Marius Nünnerich
On Wed, Nov 18, 2009 at 23:15, Daniel O'Connor docon...@gsoft.com.au wrote: On Sun, 15 Nov 2009, Daniel O'Connor wrote:   There's no need to detach anything. I'll try it when I get home and see how it goes. How can I show what partition has what UUID? gpart list and gpart show do not say..

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-18 Thread Daniel O'Connor
On Thu, 19 Nov 2009, Marius Nünnerich wrote: On Wed, Nov 18, 2009 at 23:15, Daniel O'Connor docon...@gsoft.com.au wrote: On Sun, 15 Nov 2009, Daniel O'Connor wrote:   There's no need to detach anything. I'll try it when I get home and see how it goes. How can I show what partition

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-18 Thread Daniel O'Connor
On Sun, 15 Nov 2009, Daniel O'Connor wrote: There's no need to detach anything. I'll try it when I get home and see how it goes. Unfortunately I get.. [midget 11:20] ~ sudo zpool replace tank ad4p2 gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc cannot use

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Stefan Bethke
Am 28.10.2009 um 01:41 schrieb Daniel O'Connor: On Wed, 28 Oct 2009, jfar...@goldsword.com wrote: Check the archives for stable@ and f...@. I believe that there was a thread not that long ago detailing exactly how to do that. IIRC, while it took a bit of work, it wasn't difficult.

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Daniel O'Connor
Stefan Bethke wrote: Am 28.10.2009 um 01:41 schrieb Daniel O'Connor: On Wed, 28 Oct 2009, jfar...@goldsword.com wrote: Check the archives for stable@ and f...@. I believe that there was a thread not that long ago detailing exactly how to do that. IIRC, while it took a bit of work, it

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Daniel O'Connor
Daniel O'Connor wrote: Stefan Bethke wrote: Am 28.10.2009 um 01:41 schrieb Daniel O'Connor: On Wed, 28 Oct 2009, jfar...@goldsword.com wrote: Check the archives for stable@ and f...@. I believe that there was a thread not that long ago detailing exactly how to do that. IIRC, while it

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Larry Rosenman
On Sat, November 14, 2009 5:43 pm, Daniel O'Connor wrote: Stefan Bethke wrote: Am 28.10.2009 um 01:41 schrieb Daniel O'Connor: On Wed, 28 Oct 2009, jfar...@goldsword.com wrote: Check the archives for stable@ and f...@. I believe that there was a thread not that long ago detailing exactly

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Daniel O'Connor
Larry Rosenman wrote: NAMESTATE READ WRITE CKSUM vault ONLINE 0 0 0 raidz1ONLINE 0 0 0 ada1ONLINE 0 0 0 ada2ONLINE 0 0 0 ada3ONLINE 0

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Larry Rosenman
On Sat, November 14, 2009 6:03 pm, Daniel O'Connor wrote: Larry Rosenman wrote: NAMESTATE READ WRITE CKSUM vault ONLINE 0 0 0 raidz1ONLINE 0 0 0 ada1ONLINE 0 0 0 ada2ONLINE 0

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Stefan Bethke
Am 15.11.2009 um 00:58 schrieb Larry Rosenman: On Wed Jul 15 at 16:22, Freddie Cash fjwcash at gmail.com wrote: Yep. It's as simple as: * label all the drives using glabel, while they're still attached to the pool * use zpool replace pool ad4 label/disk01 to replace 1 drive * wait for

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-11-14 Thread Stefan Bethke
Am 15.11.2009 um 00:49 schrieb Daniel O'Connor: It would be nice if the man page mentioned this case though, currently the zpool replace entry covers the case where the new disk has the same device node. Huh? zpool replace [‐f] pool old_device [new_device] Replaces

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Daniel O'Connor
On Mon, 26 Oct 2009, Pete French wrote: just about to build a new ZFS based system and I was wondering what the recommended way to dedicate a whole disc to ZFS is these days. Should I just give it 'da1', 'da2' etc as I have done in the past, or is it better to use GPT to create a partition

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Artem Belevich
Unfortunately it appears ZFS doesn't search for GPT partitions so if you have them and swap the drives around you need to fix it up manually. When I used raw disk or GPT partitions, if disk order was changed the pool would come up in 'DEGRADED' or UNAVAILABLE state. Even then all that had to be

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Artis Caune
2009/10/27 Daniel O'Connor docon...@gsoft.com.au: Unfortunately it appears ZFS doesn't search for GPT partitions so if you have them and swap the drives around you need to fix it up manually. Every GPT partition have unique /dev/gptid/uuid, you can find it out with: glabel status and

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Patrick M. Hausen
Hello, On Tue, Oct 27, 2009 at 09:00:27AM +0200, Artis Caune wrote: 2009/10/27 Daniel O'Connor docon...@gsoft.com.au: Unfortunately it appears ZFS doesn't search for GPT partitions so if you have them and swap the drives around you need to fix it up manually. Every GPT partition have

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Daniel O'Connor
On Tue, 27 Oct 2009, Artem Belevich wrote: Unfortunately it appears ZFS doesn't search for GPT partitions so if you have them and swap the drives around you need to fix it up manually. When I used raw disk or GPT partitions, if disk order was changed the pool would come up in 'DEGRADED'

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread jfarmer
Quoting Daniel O'Connor docon...@gsoft.com.au: On Tue, 27 Oct 2009, Artem Belevich wrote: Unfortunately it appears ZFS doesn't search for GPT partitions so if you have them and swap the drives around you need to fix it up manually. When I used raw disk or GPT partitions, if disk order was

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Daniel O'Connor
On Wed, 28 Oct 2009, jfar...@goldsword.com wrote: Check the archives for stable@ and f...@.  I believe that there was a   thread not that long ago detailing exactly how to do that.  IIRC,   while it took a bit of work, it wasn't difficult. Hmm do you have any idea what the subject was? I'm

whats best pracfive for ZFS on a whole disc these days ?

2009-10-26 Thread Pete French
just about to build a new ZFS based system and I was wondering what the recommended way to dedicate a whole disc to ZFS is these days. Should I just give it 'da1', 'da2' etc as I have done in the past, or is it better to use GPT to create a partition over the whole disc, which is marked as being

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-26 Thread Robert Noland
On Mon, 2009-10-26 at 11:19 +, Pete French wrote: just about to build a new ZFS based system and I was wondering what the recommended way to dedicate a whole disc to ZFS is these days. Should I just give it 'da1', 'da2' etc as I have done in the past, or is it better to use GPT to create a

Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-26 Thread Nenhum_de_Nos
On Mon, October 26, 2009 13:38, Robert Noland wrote: On Mon, 2009-10-26 at 11:19 +, Pete French wrote: just about to build a new ZFS based system and I was wondering what the recommended way to dedicate a whole disc to ZFS is these days. Should I just give it 'da1', 'da2' etc as I have