[SunHELP] fsck on root question
jh
jh at r2r.de
Mon Mar 4 04:07:39 CST 2002
No Problem to fsck md-Devices. The metadevices are handeld like normal slices,
so it`s possible to run a fsck.
Go down in Single-User-mode (init s, init S or init 1) or boot from cdrom (boot
cdrom -s in the OBP). After this you can check: # fsck /dev/md/rds/d0
flim at acamus.com wrote:
> Dear Admins,
>
> I am running Solaris 7. The root partition is a metadevice, is it possible
> to fsck the metadevice booting from cdrom?
>
> #device device mount FS fsck mount
> mount
> #to mount to fsck point type pass at boot
> options
> #
> #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
> fd - /dev/fd fd - no -
> /proc - /proc proc - no -
> /dev/dsk/c0t0d0s1 - - swap - no -
> /dev/dsk/c0t0d0s3 - - swap - no -
> /dev/md/dsk/d8 /dev/md/rdsk/d8 / ufs 1 no -
> /dev/md/dsk/d9 /dev/md/rdsk/d9 /var ufs 1 no -
> /dev/md/dsk/d11 /dev/md/rdsk/d11 /export/home ufs 2 yes
> -
> /dev/md/dsk/d10 /dev/md/rdsk/d10 /opt ufs 2 yes -
> swap - /tmp tmpfs - yes -
>
> Thanks!
>
> Frederick
>
> -------------------------------------------
>
> Dear Trush
> fsck MUST be used with the unmount,inactive partition.
> So you can't fsck on root partition
> unless boot from other source Ex. cdrom
> What u need to do is
> boot from cdrom in single mode the fsck it.
> that's it.
>
> Hope this help
> Pat.
> -----Original Message-----
> From: Walter Trush [mailto:wtrush at qwest.com]
> Sent: Saturday, October 06, 2001 02:44
> To: sunhelp
> Subject: [SunHELP] Continually get fsck fail on root
>
> Sun admins,
>
> I continutally get a fsck failure on root, it gets
> fixed, then re-occurs again. How can I fix permanently?
>
> Wally
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
--
Mit freundlichen Gruessen,
______________________________________________
Jens Hamann
Unix Consultant
R2R Informations- und Kommunikations AG
Anzengruberstr. 12 D-83101 Rohrdorf
Tel: +49-8032-9899-0 Fax: +49-8032-9899-29
http://www.r2r.de mailto:jhamann at r2r.de
______________________________________________
More information about the SunHELP
mailing list