On Tue, Mar 8, 2011 at 4:53 PM, Kenneth R Westerback <[email protected]> wrote: > On Tue, Mar 08, 2011 at 02:16:57PM +0100, Mattieu Baptiste wrote: >> On Tue, Mar 8, 2011 at 12:52 PM, Nick Holland >> <[email protected]> wrote: >> > On 03/08/11 05:10, Mattieu Baptiste wrote: >> >> Hi all, >> >> >> >> I know this setup might not be fully supported but I wanted to report >> >> this. >> >> >> >> On my Sun Fire V240 I have two softraid(4) volumes: >> >> - sd4 (UUID a45b5629cc97897e), RAID1 for : /tmp, /var, /usr, /home >> >> - sd5 (UUID 5cd55a71b5790766), RAID0 for data. >> >> >> >> My /etc/fstab is as follows: >> >> 00000000438d5c40.b none swap sw 0 0 >> >> /dev/sd0a / ffs rw,softdep 1 1 >> >> 00000000438d5c40.a /altroot ffs xx 0 0 >> >> a45b5629cc97897e.h /home ffs rw,nodev,nosuid,softdep 1 2 >> >> a45b5629cc97897e.d /tmp ffs rw,nodev,nosuid,softdep 1 2 >> >> a45b5629cc97897e.g /usr ffs rw,nodev,softdep 1 2 >> >> a45b5629cc97897e.e /var ffs rw,nodev,nosuid,softdep 1 2 >> >> 5cd55a71b5790766.k /var/www/ftp ffs rw,nodev,nosuid,softdep 1 2 >> >> >> >> When I try to reboot the machine, it stalls at: >> >> $ sudo reboot >> >> /etc/rc.shutdown in progress... >> >> stopping local daemons: mysqld. >> >> /etc/rc.shutdown complete. >> >> syncing disks... done >> >> sd5 detached >> >> scsibus5 detached >> >> sd4 detached >> >> scsibus4 detached >> >> >> >> The only way to reboot the machine is via ALOM. >> > ... >> > >> > Could you verify that this is actually related to softraid by installing >> > on a non-softraid drive and see if you can reboot normally? >> >> Yes, I used to run this machine without softraid. Reboot was working fine. >> >> > >> > I've seen this problem what I thought was intermittently on sparc64, but >> > didn't link it to softraid...but now that you mention it, it MIGHT have >> > been on softraid-ed machines. >> > >> > Nick. >> >> >> -- >> Mattieu Baptiste >> "/earth is 102% full ... please delete anyone you can." >> > > I don't think it has anything to do with your problem, but I am curious why > you have /dev/sd0a in the fstab, rather than the DUID.
On sd0, sd0a is / and on sd1, sd1a is /altroot. If I pull out one of these two disks, I'd like to boot correctly the system, whichever the DUID is. -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."

