Hello. I have a machine at home on which I have SXCE B96 installed on a root zpool mirror. It''s been working great until yesterday. The root pool is a mirror with two identical 160GB disks. The other day I added a third disk to the mirror, a 250 GB disk. Soon after, the third disk developed some hardware problem and this is now preventing the system from booting from the root pool. It panics early on and reboots. I''m trying to repair the system by dropping into single user mode after booting from a DVD-ROM. I had to yank the third disk in order for the machine to boot successfully at all. However, in single user mode I''m so far unable to do anything useful with the pool. Using "zpool import" the pool is listed as being DEGRADED, with one device being UNAVAILABLE (cannot open). The pool is also shown to be last accessed by another system. All this is as expected. Any command other than "zpool import" knows nothing about the pool "rpool", e.g. "zpool status". Assuming I have to import the pool before doing anything like detaching any bad devices I try importing it using "zpool import -f rpool". This displays an error: cannot import ''rpool'': one or more devices is currently unavailable At this point I''m stuck. I can''t boot from the pool and I can''t access the pool after booting into single user mode from a DVD-ROM. Does anyone have any advice on how to repair my system? Krister
Here is the output from "zpool import" showing the configuration of the pool in case that can help diagnosing my problem. pool: rpool id: ... state: DEGRADED status: The pool was last accessed by another system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-EY config: rpool DEGRADED mirror DEGRADED c1t2d0s0 ONLINE c1t3d0s0 ONLINE c1t1d0s0 UNAVAIL cannot open Thanks, Krister On Aug 29, 2008, at 9:25 PM, Krister Joas wrote:> Hello. > > I have a machine at home on which I have SXCE B96 installed on a > root zpool mirror. It''s been working great until yesterday. The > root pool is a mirror with two identical 160GB disks. The other day > I added a third disk to the mirror, a 250 GB disk. Soon after, the > third disk developed some hardware problem and this is now > preventing the system from booting from the root pool. It panics > early on and reboots. > > I''m trying to repair the system by dropping into single user mode > after booting from a DVD-ROM. I had to yank the third disk in order > for the machine to boot successfully at all. However, in single > user mode I''m so far unable to do anything useful with the pool. > Using "zpool import" the pool is listed as being DEGRADED, with one > device being UNAVAILABLE (cannot open). The pool is also shown to > be last accessed by another system. All this is as expected. Any > command other than "zpool import" knows nothing about the pool > "rpool", e.g. "zpool status". Assuming I have to import the pool > before doing anything like detaching any bad devices I try importing > it using "zpool import -f rpool". This displays an error: > > cannot import ''rpool'': one or more devices is currently unavailable > > At this point I''m stuck. I can''t boot from the pool and I can''t > access the pool after booting into single user mode from a DVD-ROM. > Does anyone have any advice on how to repair my system? > > Krister >
Krister Joas wrote:> Hello. > > I have a machine at home on which I have SXCE B96 installed on a root > zpool mirror. It''s been working great until yesterday. The root pool > is a mirror with two identical 160GB disks. The other day I added a > third disk to the mirror, a 250 GB disk. Soon after, the third disk > developed some hardware problem and this is now preventing the system > from booting from the root pool. It panics early on and reboots. > > I''m trying to repair the system by dropping into single user mode > after booting from a DVD-ROM. I had to yank the third disk in order > for the machine to boot successfully at all. However, in single user > mode I''m so far unable to do anything useful with the pool. Using > "zpool import" the pool is listed as being DEGRADED, with one device > being UNAVAILABLE (cannot open). The pool is also shown to be last > accessed by another system. All this is as expected. Any command > other than "zpool import" knows nothing about the pool "rpool", e.g. > "zpool status". Assuming I have to import the pool before doing > anything like detaching any bad devices I try importing it using > "zpool import -f rpool". This displays an error: > > cannot import ''rpool'': one or more devices is currently unavailable > > At this point I''m stuck. I can''t boot from the pool and I can''t > access the pool after booting into single user mode from a DVD-ROM. > Does anyone have any advice on how to repair my system? > > Krister > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discussKrister, When you boot off of the DVD, there should be an option to go into single-user shell. This will search for root instances. Does this get displayed? Once you get to the DVD shell prompt, can you try to run ''zpool import -F rpool''? thanks, George
On Aug 30, 2008, at 8:45 AM, George Wilson wrote:> Krister Joas wrote: >> Hello. >> I have a machine at home on which I have SXCE B96 installed on a >> root zpool mirror. It''s been working great until yesterday. The >> root pool is a mirror with two identical 160GB disks. The other >> day I added a third disk to the mirror, a 250 GB disk. Soon >> after, the third disk developed some hardware problem and this is >> now preventing the system from booting from the root pool. It >> panics early on and reboots. >> I''m trying to repair the system by dropping into single user mode >> after booting from a DVD-ROM. I had to yank the third disk in >> order for the machine to boot successfully at all. However, in >> single user mode I''m so far unable to do anything useful with the >> pool. Using "zpool import" the pool is listed as being DEGRADED, >> with one device being UNAVAILABLE (cannot open). The pool is also >> shown to be last accessed by another system. All this is as >> expected. Any command other than "zpool import" knows nothing >> about the pool "rpool", e.g. "zpool status". Assuming I have to >> import the pool before doing anything like detaching any bad >> devices I try importing it using "zpool import -f rpool". This >> displays an error: >> cannot import ''rpool'': one or more devices is currently >> unavailable >> At this point I''m stuck. I can''t boot from the pool and I can''t >> access the pool after booting into single user mode from a DVD- >> ROM. Does anyone have any advice on how to repair my system? >> Krister >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > Krister,Hi George,> When you boot off of the DVD, there should be an option to go into > single-user shell. This will search for root instances. Does this > get displayed?It says: Searching for installed OS instances... No installed OS instance found. And then I''m at the single user prompt.> Once you get to the DVD shell prompt, can you try to run ''zpool > import -F rpool''?The result is the same as without a ''-f''. With both -f and -F it says "cannot open ''rpool'': I/O error" and the pool disappears completely. It no longer shows up when doing "zpool import". I have to reboot off the DVD again to get it back. I''m using an ASUS P5K-E motherboard and the on board SATA ports. Could it be a motherboard problem? I''ve tried moving the SATA cables to different ports but no change. I have a second pool on this machine (called z2) on a separate disk (single disk - no redundancy). Running "zpool import -f z2" on that pool succeeds but then it fails with the following error: cannot mount ''/z2'': failed to create mountpoint.> thanks, > GeorgeThanks, Krister