[NTLUG:Discuss] Linux box crash...revisited...ACHH

Alton R. Pouncey, II alton at trainers-r-us.com
Fri Dec 27 10:47:14 CST 2002


On Fri, 2002-12-27 at 08:33, Ryan Sweat wrote:
> On Fri, 2002-12-27 at 00:22, terry wrote:
> 
> > > Ok...this may make a little more sense with that other error message 
> > > in there. When I look at /etc/fstab as Ryan suggested, here's the line 
> > > for /usr...
> > >
> > > LABEL=/usr /usr ext3 defaults 1 2
> > >
> > > Does this look right? It seems to match most of the other entries for 
> > > the other partitions. 
> > 
> > No, it does not look right. (I don't know what LABEL=/usr referrs to)
> > The mount point is there but no device or partition is listed..
> 
> It does look right.  Use e2label on your partitions to see the mountpoints.
> 
> man 8 e2label
> 
> To find which partitions you have, view /var/log/dmesg.  Search for a line similar to this:
> 
> Partition check:
>  hda: hda1 hda2 hda3
> 
> Then try e2label on each of them (ie: /dev/hda1 /dev/hda2 /dev/hda3) to see which has the label you are looking for.  Once you find it, 
> run fsck <device>.
> 

You could also just try fsck'ing the mountpoint like so:

fsck -t ext3 /usr

RH 7.2 supported it, don't know about 7.3. From the 7.2 fsck man page:

fsck [ -sACVRTNP ] [ -t fstype ] filesys [ ... ] [--] [ fsck-options ]

fsck  is  used  to  check  and  optionally repair a one or more Linux
file systems.  filesys can be a device name (e.g.  /dev/hdc1,
/dev/sdb2), a mount point (e.g.   /, /usr, /home), or an ext2 label   
or UUID specifier (e.g. UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or
LABEL=root).  The  fsck  program  will try  to  run  filesystems  on 
different physical disk drives in parallel to reduce total amount time
to check all of the filesystems.

> 
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
-- 
Alton R. Pouncey, II
SCSA, SCNA, CCNA, CIW Professional
http://www.trainers-r-us.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://ntlug.org/pipermail/discuss/attachments/20021227/38bc9df9/attachment.bin


More information about the Discuss mailing list