I have a dilemma... This is my system as is: # atacontrol list ATA channel 0: Master: ad0 <SAMSUNG SV3012H/RD100-06> ATA/ATAPI revision 6 Slave: no device present ATA channel 1: Master: ad2 <WDC WD3200KS-00PFB0/21.00M21> Serial ATA II Slave: ad3 <ST3320620AS/3.AAJ> Serial ATA II ATA channel 2: Master: ad4 <ST3320620AS/3.AAK> Serial ATA II Slave: no device present ATA channel 3: Master: ad6 <ST3320620AS/3.AAK> Serial ATA II Slave: no device present FreeBSD CURRENT is installed on ad0 and I fdisk'd label'd and created a /boot on ad2 (300MB ad2s1a). All is fine, boots the kernel. I created the zpool like this: # zpool create r4x320 raidz ad2s1d ad3s1d ad4 ad6 Then copied everything to the new zfs fs that will be the new root fs The aim is to disconnect the ATA ad0 thus rendering the SATA ad2 to ad0, something like this: ATA channel 0: Master: ad0 <WDC WD3200KS-00PFB0/21.00M21> Serial ATA II Slave: ad1 <ST3320620AS/3.AAJ> Serial ATA II ATA channel 1: Master: ad2 <ST3320620AS/3.AAK> Serial ATA II Slave: no device present ATA channel 2: Master: ad4 <ST3320620AS/3.AAK> Serial ATA II Slave: no device present The problem is that the info in zpool.cache is diferent from the new disk order and zfs doesn't pick the volume thus no root fs. I jumped on my "let's go for anything" suit and even tried to edit zpool.cache by hand with the new disk order, sadly with no luck. If I keep the ATA ad0 attached and boot from SATA ad2, zfs picks up the zpool and FreeBSD boots, which proves it works :D Now, my real question is: without having to boot from a device that doesn't change the disk configuration is there a way to force zfs to import zpools during boot in the way that zpool import does? On 4/10/07, Joao Barros <joao.barros_at_gmail.com> wrote: > I managed to sell the 200GB boot disk so now I'm going for a 4x320GB > raid-z with a gmirror partition for boot. > If everything goes well I'll make up a recipe for this setup and share :) > > PS: DES, without checking any data, I'd say the minimum wage in Norway > is 3x the Portuguese one ;) > > On 4/9/07, Dag-Erling Smørgrav <des_at_des.no> wrote: > > "Joao Barros" <joao.barros_at_gmail.com> writes: > > > Btw, I hold you personally responsible for my acquisition of two extra > > > 320GB drives ;) > > > > Pffft. I have 3 TB under my desk right now, half of it ZFS :) > > > > DES > > -- > > Dag-Erling Smørgrav - des_at_des.no > > > > > -- > Joao Barros > -- Joao BarrosReceived on Thu Apr 12 2007 - 16:30:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC