Re: [zfs-discuss] Changing GUID

2010-11-16 Thread Phil Harman
Actually, I did this very thing a couple of years ago with M9000s and EMC DMX4s ... with the exception of the "same host" requirement you have (i.e. the thing that requires the GUID change). If you want to import the pool back into the host where the cloned pool is also imported, it's not just

Re: [zfs-discuss] Changing GUID

2010-11-16 Thread Richard Elling
On Nov 15, 2010, at 2:11 AM, sridhar surampudi wrote: > Hi I am looking in similar lines, > > my requirement is > > 1. create a zpool on one or many devices ( LUNs ) from an array ( array can > be IBM or HPEVA or EMC etc.. not SS7000). > 2. Create file systems on zpool > 3. Once file systems ar

Re: [zfs-discuss] Changing GUID

2010-11-15 Thread Torrey McMahon
Are those really your requirements? What is it that you're trying to accomplish with the data? Make a copy and provide to an other host? On 11/15/2010 5:11 AM, sridhar surampudi wrote: Hi I am looking in similar lines, my requirement is 1. create a zpool on one or many devices ( LUNs ) from a

Re: [zfs-discuss] Changing GUID

2010-11-15 Thread Andrew Gabriel
sridhar surampudi wrote: Hi I am looking in similar lines, my requirement is 1. create a zpool on one or many devices ( LUNs ) from an array ( array can be IBM or HPEVA or EMC etc.. not SS7000). 2. Create file systems on zpool 3. Once file systems are in use (I/0 is happening) I need to take

Re: [zfs-discuss] Changing GUID

2010-11-15 Thread sridhar surampudi
Hi I am looking in similar lines, my requirement is 1. create a zpool on one or many devices ( LUNs ) from an array ( array can be IBM or HPEVA or EMC etc.. not SS7000). 2. Create file systems on zpool 3. Once file systems are in use (I/0 is happening) I need to take snapshot at array level a

Re: [zfs-discuss] Changing GUID

2010-11-15 Thread Colin Daly
hi Cyril, I also need to change a guid of a zpool (again because of cloning at LUN level has produced a duplicate). Have you a solution? CD -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://ma

[zfs-discuss] changing guid of vdev

2009-08-30 Thread P. Anil Kumar
Hi, I added a vdev(file) to the zpool and then, and using hexedit modified the guid of the vdev in all four labels. I also, caluculated the new ub_guid_sum and updated all uberblock guid_sum values. Now, when I try to import this modified file into the zpool, it says the device is offline...and

Re: [zfs-discuss] Changing GUID

2009-08-13 Thread Jayakrishna
Cyril, Can you please post the code, I will try to update it and get it to compile as I have a customer with the requirement. Thanks, JK -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.o

Re: [zfs-discuss] Changing GUID

2009-07-09 Thread Cyril Plisko
On Thu, Jul 9, 2009 at 8:42 PM, Norbert wrote: > Does anyone have the code/script to change the GUID of a ZFS pool? I did such tool for my client around a year ago and that client agreed to release the code. However, the API I've used is has been changed and not available anymore. So you cannot co

Re: [zfs-discuss] Changing GUID

2009-07-09 Thread Norbert
Does anyone have the code/script to change the GUID of a ZFS pool? -- 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] Changing GUID

2008-07-07 Thread Mike Gerdts
On Wed, Jul 2, 2008 at 2:10 AM, Jeff Bonwick <[EMAIL PROTECTED]> wrote: >> How difficult would it be to write some code to change the GUID of a pool? > > As a recreational hack, not hard at all. ?But I cannot recommend it > in good conscience, because if the pool contains more than one disk, > the

Re: [zfs-discuss] Changing GUID

2008-07-07 Thread Peter Pickford
Hi Jeff, What I'm trying to do is import many copies of a pool that is cloned on a storage array. ZFS will only import the first disk (there is only one disk in the pool) and any clones have the same pool name and GUID and are ignored. Is there any chance Sun will support external cloned disks a

Re: [zfs-discuss] Changing GUID

2008-07-02 Thread Cyril Plisko
On Wed, Jul 2, 2008 at 9:55 AM, Peter Pickford <[EMAIL PROTECTED]> wrote: > Hi, > > How difficult would it be to write some code to change the GUID of a pool? Not too difficult - I did it some time ago for a customer, who wanted it badly. I guess you are trying to import pools cloned by the storag

Re: [zfs-discuss] Changing GUID

2008-07-02 Thread Jeff Bonwick
> How difficult would it be to write some code to change the GUID of a pool? As a recreational hack, not hard at all. But I cannot recommend it in good conscience, because if the pool contains more than one disk, the GUID change cannot possibly be atomic. If you were to crash or lose power in th

[zfs-discuss] Changing GUID

2008-07-01 Thread Peter Pickford
Hi, How difficult would it be to write some code to change the GUID of a pool? Thanks Peter ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss