[OpenIndiana-discuss] exporting rpool with system running
[ I apologize if a very similar post from me has already shown up here. Having some kind of delivery or receive problem] How can I export the rpool with the system up? Can it only be done from a livecd or such like? Trying a simple export command just tells me rpool is busy. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
> [ I apologize if a very similar post from me has already shown up > here. Having some kind of delivery or receive problem] > > > How can I export the rpool with the system up? > > Can it only be done from a livecd or such like? > > Trying a simple export command just tells me rpool is busy. AFAIK, exporting an rpool while running on it, is quite impossible. Why would you want to export it? Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
Roy Sigurd Karlsbakk writes: > AFAIK, exporting an rpool while running on it, is quite > impossible. Why would you want to export it? So use livecd then? The reasons to do this have been discussed here at least twice. Thats why I didn't include that information. Thinking about it again after your prompt though I see I should have included at least a brief outline of why. So briefly put: The hardware is giving up the ghost. The machine will start and run for maybe 10-15 minutes and then stops with no log errors evident. Rather than worry with the old outdated equipment I plan to build up a newer hardware setup. Install openindiana on a pair of smallish disks for the new (mirrored) rpool and then import all the old zpools including the oldrpool (renamed) which, unfortunately, also has data I'd like to keep on it. Oldrpool is also on a mirrored pair of disks. So I thought to leave oldrpool exported to facilitate the above approach. Install the disks containing oldrpool and import it using the new setup, then dump all the old rpool OS related stuff and keep the wanted data on a renamed zpool. Better ideas are welcome. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
Detach the mirror disk from the old rpool. Import detached drive into new system w/ a new name Copy data --- On Mon, 8/1/11, Harry Putnam wrote: From: Harry Putnam Subject: Re: [OpenIndiana-discuss] exporting rpool with system running To: openindiana-discuss@openindiana.org Date: Monday, August 1, 2011, 7:14 AM Roy Sigurd Karlsbakk writes: > AFAIK, exporting an rpool while running on it, is quite > impossible. Why would you want to export it? So use livecd then? The reasons to do this have been discussed here at least twice. Thats why I didn't include that information. Thinking about it again after your prompt though I see I should have included at least a brief outline of why. So briefly put: The hardware is giving up the ghost. The machine will start and run for maybe 10-15 minutes and then stops with no log errors evident. Rather than worry with the old outdated equipment I plan to build up a newer hardware setup. Install openindiana on a pair of smallish disks for the new (mirrored) rpool and then import all the old zpools including the oldrpool (renamed) which, unfortunately, also has data I'd like to keep on it. Oldrpool is also on a mirrored pair of disks. So I thought to leave oldrpool exported to facilitate the above approach. Install the disks containing oldrpool and import it using the new setup, then dump all the old rpool OS related stuff and keep the wanted data on a renamed zpool. Better ideas are welcome. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
On 31/07/2011, at 10:03 PM, Harry Putnam wrote: > [ I apologize if a very similar post from me has already shown up > here. Having some kind of delivery or receive problem] > > > How can I export the rpool with the system up? >From my recent experience, you can boot off the live CD and import the >existing pool without exporting it by using the `import -f` flag. Importing a pool into one system like this removes it off the old system, however the boot pool seems to automatically import -f itself when you reboot back into the real disks instead of the live cd. Not the other pools though, you will need to properly export/import them. -Matt ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
On 02/08/2011 12:14 a.m., Harry Putnam wrote: Roy Sigurd Karlsbakk writes: AFAIK, exporting an rpool while running on it, is quite impossible. Why would you want to export it? So use livecd then? The reasons to do this have been discussed here at least twice. Thats why I didn't include that information. Thinking about it again after your prompt though I see I should have included at least a brief outline of why. So briefly put: The hardware is giving up the ghost. The machine will start and run for maybe 10-15 minutes and then stops with no log errors evident. Rather than worry with the old outdated equipment I plan to build up a newer hardware setup. Install openindiana on a pair of smallish disks for the new (mirrored) rpool and then import all the old zpools including the oldrpool (renamed) which, unfortunately, also has data I'd like to keep on it. Oldrpool is also on a mirrored pair of disks. So I thought to leave oldrpool exported to facilitate the above approach. Install the disks containing oldrpool and import it using the new setup, then dump all the old rpool OS related stuff and keep the wanted data on a renamed zpool. Better ideas are welcome. Just install the disks and boot. I have found it to be very portable. I have done an rpool Sata boot disk from VM Workstation raw disk 32 bit, to older AMD64 dual cpu, to modern Intel 5420 dual cpu and back again. It just booted without issues. Nic does change, but that's easy to handle. Mark. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
Reginald Beardsley writes: [ reordered by ed -hp] > --- On Mon, 8/1/11, Harry Putnam wrote: > > From: Harry Putnam > Subject: Re: [OpenIndiana-discuss] exporting rpool with system running > To: openindiana-discuss@openindiana.org > Date: Monday, August 1, 2011, 7:14 AM > > Roy Sigurd Karlsbakk writes: > >> AFAIK, exporting an rpool while running on it, is quite >> impossible. Why would you want to export it? > Detach the mirror disk from the old rpool. Does this need to be done before migrating the disks to the new setup? That is, should I run the old hardware... do `zpool detach ...' on the boot discs (the other zpools are already exported) and then shutdown and migrate the discs? ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] exporting rpool with system running
On 06/08/2011 1:34 a.m., Harry Putnam wrote: Reginald Beardsley writes: [ reordered by ed -hp] --- On Mon, 8/1/11, Harry Putnam wrote: From: Harry Putnam Subject: Re: [OpenIndiana-discuss] exporting rpool with system running To: openindiana-discuss@openindiana.org Date: Monday, August 1, 2011, 7:14 AM Roy Sigurd Karlsbakk writes: AFAIK, exporting an rpool while running on it, is quite impossible. Why would you want to export it? Detach the mirror disk from the old rpool. Does this need to be done before migrating the disks to the new setup? That is, should I run the old hardware... do `zpool detach ...' on the boot discs (the other zpools are already exported) and then shutdown and migrate the discs? I haven't done this step in the past with my set of testing disks. With Sata, it always seems to boot successfully, but if mirrored, not usually with the mirror disk intact, so that does need to be added back. Mark. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss