Re: [zfs-discuss] zfs migration question

2008-10-22 Thread Johan Hartzenberg
On Wed, Oct 22, 2008 at 2:35 AM, Dave Bevans <[EMAIL PROTECTED]> wrote: > Hi, > > I have a customer with the following question... > > She's trying to combine 2 ZFS 460gb disks into one 900gb ZFS disk. If this > is possible how is this done? Is there any documentation on this that I can > provide

Re: [zfs-discuss] zfs migration question

2008-10-22 Thread Tomas Ă–gren
On 21 October, 2008 - Dave Bevans sent me these 11K bytes: > Hi, > > I have a customer with the following question... > > She's trying to combine 2 ZFS 460gb disks into one 900gb ZFS disk. If > this is possible how is this done? Is there any documentation on this > that I can provide to them?

[zfs-discuss] zfs migration question

2008-10-21 Thread Dave Bevans
Hi, I have a customer with the following question... She's trying to combine 2 ZFS 460gb disks into one 900gb ZFS disk. If this is possible how is this done? Is there any documentation on this that I can provide to them? -- Regards, Dave -- My normal working hours are Sunday through Wednesday

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Richard Elling
zpool replace == zpool attach + zpool detach It is not a good practice to detach and then attach as you are vulnerable after the detach and before the attach completes. It is a good practice to attach and then detach. There is no practical limit to the number of sides of a mirror in ZFS. -- ri

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Mark J Musante
On Fri, 1 Jun 2007, Krzys wrote: > bash-3.00# zpool replace mypool c1t2d0 emcpower0a > bash-3.00# zpool status >pool: mypool > state: ONLINE > status: One or more devices is currently being resilvered. The pool will > continue to function, possibly in a degraded state. > action: Wa

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Krzys
Ok, now its seems like its working what I wanted to do: bash-3.00# zpool status pool: mypool state: ONLINE scrub: resilver completed with 0 errors on Thu May 31 23:01:09 2007 config: NAMESTATE READ WRITE CKSUM mypool ONLINE 0 0 0 mirror

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Krzys
yeah it does something funky that I did not expect, zpool seems like its taking slice 0 of that emc lun rather than taking the whole device... so when I did create that lun, I formated disk and it looked like this: format> verify Primary label contents: Volume name = <> ascii name =

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Krzys
ok, I think I did figure out what is the problem well what zpool does for that emc powerpath is it takes parition 0 from disk and is trying to attach it to my pool, so when I added emcpower0a I got the following: bash-3.00# zpool list NAMESIZEUSED AVAILCAP HEALTH

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Will Murnane
On 6/1/07, Krzys <[EMAIL PROTECTED]> wrote: bash-3.00# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT mypool 68G 53.1G 14.9G78% ONLINE - mypool2 123M 83.5K123M 0% ONLINE - Are you sure you've alloca

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Krzys
Never the less I get the following error: bash-3.00# zpool attach mypool emcpower0a missing specification usage: attach [-f] bash-3.00# zpool status pool: mypool state: ONLINE scrub: resilver completed with 0 errors on Thu May 31 23:01:09 2007 config: NAMESTATE

Re: [zfs-discuss] zfs migration

2007-06-01 Thread Krzys
Yes by my goal is to replace exisiting disk which is internal disk 72gb with SAN storage disk which is 100GB in size... As long as I will be able to detach the old one then its going to be great... otherwise I will be stuck with one internal disk and oneSAN disk which I do not like that much to

Re: [zfs-discuss] zfs migration

2007-05-31 Thread Will Murnane
On 5/31/07, Krzys <[EMAIL PROTECTED]> wrote: so I do run replace command and I get and error: bash-3.00# zpool replace mypool c1t2d0 emcpower0a cannot replace c1t2d0 with emcpower0a: device is too small Try "zpool attach mypool emcpower0a"; see http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qrt

Re: [zfs-discuss] zfs migration

2007-05-31 Thread Krzys
Hmm, I am having some problems, I did follow what you suggested and here is what I did: bash-3.00# zpool status pool: mypool state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM mypool ONLINE 0 0 0 mirrorONLINE

Re: [zfs-discuss] zfs migration

2007-05-31 Thread Richard Elling
Krzys wrote: Sorry to bother you but something is not clear to me regarding this process.. Ok, lets sat I have two internal disks (73gb each) and I am mirror them... now I want to replace those two mirrored disks into one LUN that is on SAN and it is around 100gb. Now I do meet one requirement

Re: [zfs-discuss] zfs migration

2007-05-31 Thread Krzys
Sorry to bother you but something is not clear to me regarding this process.. Ok, lets sat I have two internal disks (73gb each) and I am mirror them... now I want to replace those two mirrored disks into one LUN that is on SAN and it is around 100gb. Now I do meet one requirement of having more

Re: [zfs-discuss] zfs migration

2007-05-29 Thread Krzys
Perfect, i will try to play with that... Regards, Chris On Tue, 29 May 2007, Cyril Plisko wrote: On 5/29/07, Krzys <[EMAIL PROTECTED]> wrote: Hello folks, I have a question. Currently I have zfs pool (mirror) on two internal disks... I wanted to connect that server to SAN, then add more st

Re: [zfs-discuss] zfs migration

2007-05-29 Thread Cyril Plisko
On 5/29/07, Krzys <[EMAIL PROTECTED]> wrote: Hello folks, I have a question. Currently I have zfs pool (mirror) on two internal disks... I wanted to connect that server to SAN, then add more storage to this pool (double the space) then start using it. Then what I wanted to do is just take out the

[zfs-discuss] zfs migration

2007-05-29 Thread Krzys
Hello folks, I have a question. Currently I have zfs pool (mirror) on two internal disks... I wanted to connect that server to SAN, then add more storage to this pool (double the space) then start using it. Then what I wanted to do is just take out the internal disks out of that pool and use SAN