Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
And since I haven't really changed my HW, reconfigure shouldn't be needed, or??? On 2013-03-19 01:30, Jim Klimov wrote: On 2013-03-18 19:51, Hans J. Albertsson wrote: I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? Yes, I guess so. I reviewed a number of threads I took part in on the ZFS mailing lists, one reasonable (aggregated) suggestion was to do zpool import -R /mnt -f -N rpool -R allows to skip use of zpool.cache and have no conflicts with existing (live) OS -N allows to not mount and share FSes which can take long and you don't need in this case anyway -f you know - the force... PS: This should work for AMD-based motherboards, too ;) //Jim ___ 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] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
Thanks: worked like a charm doing zpool import -R /mnt -N -f rpool and then zpool export rpool At last I'll be able to do something with those 512e disks. Only problems were that my KVM unit is horribly slow and especially the virtual image bits. On 2013-03-19 01:30, Jim Klimov wrote: On 2013-03-18 19:51, Hans J. Albertsson wrote: I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? Yes, I guess so. I reviewed a number of threads I took part in on the ZFS mailing lists, one reasonable (aggregated) suggestion was to do zpool import -R /mnt -f -N rpool -R allows to skip use of zpool.cache and have no conflicts with existing (live) OS -N allows to not mount and share FSes which can take long and you don't need in this case anyway -f you know - the force... PS: This should work for AMD-based motherboards, too ;) //Jim ___ 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] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
BTW, this should go into an OI wiki entry. I could do it, but I wouldn't be able say anything intelligent about it. Not on me own, anyways. There should be a bit about what the commands do, too, written for the intelligent but utterly uninitiated. On 2013-03-19 11:53, Hans J. Albertsson wrote: Thanks: worked like a charm doing zpool import -R /mnt -N -f rpool and then zpool export rpool At last I'll be able to do something with those 512e disks. Only problems were that my KVM unit is horribly slow and especially the virtual image bits. On 2013-03-19 01:30, Jim Klimov wrote: On 2013-03-18 19:51, Hans J. Albertsson wrote: I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? Yes, I guess so. I reviewed a number of threads I took part in on the ZFS mailing lists, one reasonable (aggregated) suggestion was to do zpool import -R /mnt -f -N rpool -R allows to skip use of zpool.cache and have no conflicts with existing (live) OS -N allows to not mount and share FSes which can take long and you don't need in this case anyway -f you know - the force... PS: This should work for AMD-based motherboards, too ;) //Jim ___ 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 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
Now, if somebody can explain why my old and trusty SunRay2 units suddenly display scrolling items much much faster Say like from impossibly slow with large bytewise block rewrites to almost like accelerated local displays. Just because I set the SATA mode to AHCI w/o Legacy mode... Maybe it's just that sometimes the Byte Fairy is generous. On 2013-03-19 11:53, Hans J. Albertsson wrote: Thanks: worked like a charm doing zpool import -R /mnt -N -f rpool and then zpool export rpool At last I'll be able to do something with those 512e disks. Only problems were that my KVM unit is horribly slow and especially the virtual image bits. On 2013-03-19 01:30, Jim Klimov wrote: On 2013-03-18 19:51, Hans J. Albertsson wrote: I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? Yes, I guess so. I reviewed a number of threads I took part in on the ZFS mailing lists, one reasonable (aggregated) suggestion was to do zpool import -R /mnt -f -N rpool -R allows to skip use of zpool.cache and have no conflicts with existing (live) OS -N allows to not mount and share FSes which can take long and you don't need in this case anyway -f you know - the force... PS: This should work for AMD-based motherboards, too ;) //Jim ___ 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 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
On 2013-03-19 12:20, Hans J. Albertsson wrote: Now, if somebody can explain why my old and trusty SunRay2 units suddenly display scrolling items much much faster Say like from impossibly slow with large bytewise block rewrites to almost like accelerated local displays. Just because I set the SATA mode to AHCI w/o Legacy mode... I might guess that the IDE interrupts are more costly while SATA/SCSI ones are more offloaded to hardware, leaving your CPUs more available and responsive for small urgent tasks? In fact, even for VMs it is a stated reason to prefer SATA/SCSI vHBAs to IDE ones, except for maybe rarely used vCDROMs. Maybe it's just that sometimes the Byte Fairy is generous. Yup, that's the more likely explanation :) ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
On 2013-03-19 08:48, Hans J. Albertsson wrote: And since I haven't really changed my HW, reconfigure shouldn't be needed, or??? Technically not - if the OS detected potential presence of your SATA device and prepared drivers and device nodes for it long ago. Just in case this touch $ROOTFS/reconfigure won't hurt, however. Also, many SATA/AHCI devices are wrapped by a single standard driver, maybe it is tried by default always? (There are nv_sata, bcm_sata and so on, which might - or not - require more manual work, but also are more rare). //Jim ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
Just for fun, I'd take a look at the output of 'iostat -xen time interval', paying attention to the asvc_t column... That value probably went way down with the move from IDE to AHCI, due in part to the lighter CPU load of native SATA commands (less interrupts?) coupled with the performance benefits of native command queueing. If I'm not wrong, if your asvc_t is higher than 10.0 you will experience a sluggish response from the disk, and the whole system if it's your rpool. As always, please point out inaccuracies in my thought, as I'm eager to learn more but I'm quite new in performance monitoring. Bryan Sent from my BlackBerry® wireless device from WIND -Original Message- From: Jim Klimov jimkli...@cos.ru Date: Tue, 19 Mar 2013 13:04:48 To: openindiana-discuss@openindiana.org Reply-To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org Subject: Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure! On 2013-03-19 12:20, Hans J. Albertsson wrote: Now, if somebody can explain why my old and trusty SunRay2 units suddenly display scrolling items much much faster Say like from impossibly slow with large bytewise block rewrites to almost like accelerated local displays. Just because I set the SATA mode to AHCI w/o Legacy mode... I might guess that the IDE interrupts are more costly while SATA/SCSI ones are more offloaded to hardware, leaving your CPUs more available and responsive for small urgent tasks? In fact, even for VMs it is a stated reason to prefer SATA/SCSI vHBAs to IDE ones, except for maybe rarely used vCDROMs. Maybe it's just that sometimes the Byte Fairy is generous. Yup, that's the more likely explanation :) ___ 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] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
When i did it (and it was long ago), i just changed the mode on the motherboard. Nothing else. The existing pools worked out of the box. Also it change back (bios reset) and it still work on a IDE mode but throwing a lot of errors on the logs. Then change it back and everything come back to normal. On Mon, Mar 18, 2013 at 2:14 PM, Hans J. Albertsson hans.j.alberts...@branneriet.se wrote: Status: I have a server with two SATA disks carrying a root pool 2 way mirror. The motherboard is in IDE mode for SATA. This must now change, since I need to be able to accomodate disks of the 512e ilk, i e disks that lie about their blocksize, which really is 4k. I think I should do the following: On the running host, I make sure either disk can be booted, by doing the installgrub things. Then I reboot the machine on a live DVD. On the way up, I set the Bios to use AHCI mode for the SATA disks, and boot the Live DVD. From the live cd I do, I hope this is correct! Please vet! --- zpool import -f rpool ( The -f is because I didn't export it on the running system, because I couldn't, but I know it isn't active, I'm running off a DVD, see. But how does zpool find rpool???) touch /a zfs set -o canmount=on,mountpoint=/a root/ROOT/OI-151a7 zfs mount rpool/ROOT/OI-151a7 devfsadm -r /a -Cv bootadm update-archive -R /a zpool export rpool reboot After the reboot, if everything is OK I'm fine, but what can I do to recover in IDE mode if all this breaks for some dumb mistake or error?? I'd like to ensure that disk number two remains unchanged until I know AHCI mode works, so that I can either attach and resilver disk 2 if all is OK or else reboot the Live DVD and recreate the IDE rpool from disk 2. An alternative to devfsadm would be to erase the dev and devices trees embedded in the rpool and copy the Live DVD /dev and /devices in. And I suppose a new installgrub would have to be performed somewhere after the dev/devices revamp and and before the bootadm __**_ OpenIndiana-discuss mailing list OpenIndiana-discuss@**openindiana.orgOpenIndiana-discuss@openindiana.org http://openindiana.org/**mailman/listinfo/openindiana-**discusshttp://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
What motherboard and what disk types were involved? Skickat från min Samsung Mobil Originalmeddelande Från: Pablo Oddera pablo.odd...@gmail.com Datum: Till: Discussion list for OpenIndiana openindiana-discuss@openindiana.org Rubrik: Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure! When i did it (and it was long ago), i just changed the mode on the motherboard. Nothing else. The existing pools worked out of the box. Also it change back (bios reset) and it still work on a IDE mode but throwing a lot of errors on the logs. Then change it back and everything come back to normal. On Mon, Mar 18, 2013 at 2:14 PM, Hans J. Albertsson hans.j.alberts...@branneriet.se wrote: Status: I have a server with two SATA disks carrying a root pool 2 way mirror. The motherboard is in IDE mode for SATA. This must now change, since I need to be able to accomodate disks of the 512e ilk, i e disks that lie about their blocksize, which really is 4k. I think I should do the following: On the running host, I make sure either disk can be booted, by doing the installgrub things. Then I reboot the machine on a live DVD. On the way up, I set the Bios to use AHCI mode for the SATA disks, and boot the Live DVD. From the live cd I do, I hope this is correct! Please vet! --- zpool import -f rpool ( The -f is because I didn't export it on the running system, because I couldn't, but I know it isn't active, I'm running off a DVD, see. But how does zpool find rpool???) touch /a zfs set -o canmount=on,mountpoint=/a root/ROOT/OI-151a7 zfs mount rpool/ROOT/OI-151a7 devfsadm -r /a -Cv bootadm update-archive -R /a zpool export rpool reboot After the reboot, if everything is OK I'm fine, but what can I do to recover in IDE mode if all this breaks for some dumb mistake or error?? I'd like to ensure that disk number two remains unchanged until I know AHCI mode works, so that I can either attach and resilver disk 2 if all is OK or else reboot the Live DVD and recreate the IDE rpool from disk 2. An alternative to devfsadm would be to erase the dev and devices trees embedded in the rpool and copy the Live DVD /dev and /devices in. And I suppose a new installgrub would have to be performed somewhere after the dev/devices revamp and and before the bootadm __**_ OpenIndiana-discuss mailing list OpenIndiana-discuss@**openindiana.orgOpenIndiana-discuss@openindiana.org http://openindiana.org/**mailman/listinfo/openindiana-**discusshttp://openindiana.org/mailman/listinfo/openindiana-discuss ___ 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] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
On 2013-03-18 18:14, Hans J. Albertsson wrote: Status: I have a server with two SATA disks carrying a root pool 2 way mirror. The motherboard is in IDE mode for SATA. This must now change, since I need to be able to accomodate disks of the 512e ilk, i e disks that lie about their blocksize, which really is 4k. I think I should do the following: Actually, your procedure is a bit over-complicated. While rpool is some special case for import during boot (its label-embedded device paths are trusted too much, which is the sole cause for problems with such driver changes like SATA/IDE/vHDD/whatever), I don't remember needing the extra steps you do with /device nodes. Just importing and cleanly exporting the rpool while booted from a LiveDVD and having the controller in the mode you want should suffice. At this moment the rpool is processed by generic routines like any other pool, with detection of component disks as needed, so it is found on other controllers than recorded in the label. These paths are further saved into rpool labels, allowing its import during further boot. All this said, my laptop can only boot from USB as an alternate media, and this shifts its known storage controller numbering. When I boot from the HDD, it searches for SATA disks at improper device paths. So my laptop is stuck with IDE mode until someone gets around to fix or relax the rpool import procedure (i.e. instead of failing, try the usual search for pools first). On the running host, I make sure either disk can be booted, by doing the installgrub things. This rarely hurts ;) Then I reboot the machine on a live DVD. On the way up, I set the Bios to use AHCI mode for the SATA disks, and boot the Live DVD. From the live cd I do, I hope this is correct! Please vet! --- zpool import -f rpool ( The -f is because I didn't export it on the running system, because I couldn't, but I know it isn't active, I'm running off a DVD, see. But how does zpool find rpool???) See above ;) This block is likely not needed - only if your hardware is somehow non-standard and not detectable by bootup procedures. In this case you might want to add the driver names, etc. into the /boot/solaris/filelist.ramdisk text file which controls the contents of the boot archive, and maybe add a forceload in /etc/system. touch /a zfs set -o canmount=on,mountpoint=/a root/ROOT/OI-151a7 zfs mount rpool/ROOT/OI-151a7 devfsadm -r /a -Cv bootadm update-archive -R /a If you changed the dataset properties above, you'd be wise to return them to original values. You did record them, right? ;) zpool export rpool reboot After the reboot, if everything is OK I'm fine, but what can I do to recover in IDE mode if all this breaks for some dumb mistake or error?? Either keep the other disk disconnected until you can just re-add it into the mirror you are satisfied with, or change the BIOS settings for HDDs to IDE and redo the LiveDVD trickery ;) I'd like to ensure that disk number two remains unchanged until I know AHCI mode works, so that I can either attach and resilver disk 2 if all is OK or else reboot the Live DVD and recreate the IDE rpool from disk 2. An alternative to devfsadm would be to erase the dev and devices trees embedded in the rpool and copy the Live DVD /dev and /devices in. This would likely break numbering of your multi-instance devices (HBA controllers/HDDs, NICs) which may be unfortunate for monitoring and configurations. Also, the LiveDVD has a limited set of drivers and might not include/install device nodes for unknown things. And I suppose a new installgrub would have to be performed somewhere after the dev/devices revamp and and before the bootadm I don't think the two are interconnected, or that another installgrub is warranted. It itself has little notion of the connection type, just using the BIOS-level access to a provided block device, AFAIK. HTH, //Jim Klimov ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
the motherboard is M3N-HD/HDMI and the disks are old 320 gb Western Digital (WDCWD3200AAKS) On Mon, Mar 18, 2013 at 2:59 PM, Hans J Albertsson hans.j.alberts...@branneriet.se wrote: What motherboard and what disk types were involved? Skickat från min Samsung Mobil Originalmeddelande Från: Pablo Oddera pablo.odd...@gmail.com Datum: Till: Discussion list for OpenIndiana openindiana-discuss@openindiana.org Rubrik: Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure! When i did it (and it was long ago), i just changed the mode on the motherboard. Nothing else. The existing pools worked out of the box. Also it change back (bios reset) and it still work on a IDE mode but throwing a lot of errors on the logs. Then change it back and everything come back to normal. On Mon, Mar 18, 2013 at 2:14 PM, Hans J. Albertsson hans.j.alberts...@branneriet.se wrote: Status: I have a server with two SATA disks carrying a root pool 2 way mirror. The motherboard is in IDE mode for SATA. This must now change, since I need to be able to accomodate disks of the 512e ilk, i e disks that lie about their blocksize, which really is 4k. I think I should do the following: On the running host, I make sure either disk can be booted, by doing the installgrub things. Then I reboot the machine on a live DVD. On the way up, I set the Bios to use AHCI mode for the SATA disks, and boot the Live DVD. From the live cd I do, I hope this is correct! Please vet! --- zpool import -f rpool ( The -f is because I didn't export it on the running system, because I couldn't, but I know it isn't active, I'm running off a DVD, see. But how does zpool find rpool???) touch /a zfs set -o canmount=on,mountpoint=/a root/ROOT/OI-151a7 zfs mount rpool/ROOT/OI-151a7 devfsadm -r /a -Cv bootadm update-archive -R /a zpool export rpool reboot After the reboot, if everything is OK I'm fine, but what can I do to recover in IDE mode if all this breaks for some dumb mistake or error?? I'd like to ensure that disk number two remains unchanged until I know AHCI mode works, so that I can either attach and resilver disk 2 if all is OK or else reboot the Live DVD and recreate the IDE rpool from disk 2. An alternative to devfsadm would be to erase the dev and devices trees embedded in the rpool and copy the Live DVD /dev and /devices in. And I suppose a new installgrub would have to be performed somewhere after the dev/devices revamp and and before the bootadm __**_ OpenIndiana-discuss mailing list OpenIndiana-discuss@**openindiana.org OpenIndiana-discuss@openindiana.org http://openindiana.org/**mailman/listinfo/openindiana-**discuss http://openindiana.org/mailman/listinfo/openindiana-discuss ___ 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 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? On 2013-03-18 19:02, Jim Klimov wrote: On 2013-03-18 18:14, Hans J. Albertsson wrote: Status: I have a server with two SATA disks carrying a root pool 2 way mirror. The motherboard is in IDE mode for SATA. This must now change, since I need to be able to accomodate disks of the 512e ilk, i e disks that lie about their blocksize, which really is 4k. I think I should do the following: Actually, your procedure is a bit over-complicated. While rpool is some special case for import during boot (its label-embedded device paths are trusted too much, which is the sole cause for problems with such driver changes like SATA/IDE/vHDD/whatever), I don't remember needing the extra steps you do with /device nodes. Just importing and cleanly exporting the rpool while booted from a LiveDVD and having the controller in the mode you want should suffice. At this moment the rpool is processed by generic routines like any other pool, with detection of component disks as needed, so it is found on other controllers than recorded in the label. These paths are further saved into rpool labels, allowing its import during further boot. All this said, my laptop can only boot from USB as an alternate media, and this shifts its known storage controller numbering. When I boot from the HDD, it searches for SATA disks at improper device paths. So my laptop is stuck with IDE mode until someone gets around to fix or relax the rpool import procedure (i.e. instead of failing, try the usual search for pools first). On the running host, I make sure either disk can be booted, by doing the installgrub things. This rarely hurts ;) Then I reboot the machine on a live DVD. On the way up, I set the Bios to use AHCI mode for the SATA disks, and boot the Live DVD. From the live cd I do, I hope this is correct! Please vet! --- zpool import -f rpool ( The -f is because I didn't export it on the running system, because I couldn't, but I know it isn't active, I'm running off a DVD, see. But how does zpool find rpool???) See above ;) This block is likely not needed - only if your hardware is somehow non-standard and not detectable by bootup procedures. You mean the below block??? In this case you might want to add the driver names, etc. into the /boot/solaris/filelist.ramdisk text file which controls the contents of the boot archive, and maybe add a forceload in /etc/system. touch /a zfs set -o canmount=on,mountpoint=/a root/ROOT/OI-151a7 zfs mount rpool/ROOT/OI-151a7 devfsadm -r /a -Cv bootadm update-archive -R /a If you changed the dataset properties above, you'd be wise to return them to original values. You did record them, right? ;) Of course I must do zfs set -o canmount=on,mountpoint=/ rpool/ROOT/ Anything else?? zpool export rpool reboot After the reboot, if everything is OK I'm fine, but what can I do to recover in IDE mode if all this breaks for some dumb mistake or error?? Either keep the other disk disconnected until you can just re-add it into the mirror you are satisfied with, or change the BIOS settings for HDDs to IDE and redo the LiveDVD trickery ;) I'd like to ensure that disk number two remains unchanged until I know AHCI mode works, so that I can either attach and resilver disk 2 if all is OK or else reboot the Live DVD and recreate the IDE rpool from disk 2. An alternative to devfsadm would be to erase the dev and devices trees embedded in the rpool and copy the Live DVD /dev and /devices in. This would likely break numbering of your multi-instance devices (HBA controllers/HDDs, NICs) which may be unfortunate for monitoring and configurations. Also, the LiveDVD has a limited set of drivers and might not include/install device nodes for unknown things. And I suppose a new installgrub would have to be performed somewhere after the dev/devices revamp and and before the bootadm I don't think the two are interconnected, or that another installgrub is warranted. It itself has little notion of the connection type, just using the BIOS-level access to a provided block device, AFAIK. HTH, //Jim Klimov ___ 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] How do I swiych from IDE to AHCI mode for my SATA disks, please vet my procedure!
On 2013-03-18 19:51, Hans J. Albertsson wrote: I'm unclear about some of your answers.. interfoliating my questions. But, can I interpret your answer to overall be that one should not have to do more than: set BIOS to AHCI mode for the SATA controllers boot liveDVD as superuser (sudo su in a live dvd terminal) zpool import -f rpool zpool export rpool reboot for any reasonably recent Intel based server motherboard (mine is a Supermicro X7SBi)? Yes, I guess so. I reviewed a number of threads I took part in on the ZFS mailing lists, one reasonable (aggregated) suggestion was to do zpool import -R /mnt -f -N rpool -R allows to skip use of zpool.cache and have no conflicts with existing (live) OS -N allows to not mount and share FSes which can take long and you don't need in this case anyway -f you know - the force... PS: This should work for AMD-based motherboards, too ;) //Jim ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss