as i mentioned earlier, my linux box RH AS2.1 came up with only the root
partition mounted. i got console access only. no ssh. no services are running.
i run fdisk -l and i got the list of my partitions. i manually mounted /var
/usr /tmp /export /boot . SSH and Apache are now running. seems the system
is ok for now.
df -k shows:
# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda3 4127108 1798540 2118920 46% /
/dev/sdb1 141106132 124399660 9538676 93% /export
/dev/sda6 1548096 420392 1048988 29% /var
/dev/sda2 5162828 2954128 1946440 61% /usr
/dev/sda1 101089 19061 76809 20% /boot
/dev/sda7 57021344 32884 54091944 1% /data
/dev/sda8 505605 9291 470210 2% /tmp
my /etc/fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/sda5 swap swap defaults 0 0
/dev/sda7 /data ext3 defaults 1 2
/dev/sdb1 /export ext3 defaults 1 2
Question now is why the other filesystems are not mounted automatically?
Should i edit /etc/fstab and use the device names (/dev/sda?) instead of the
LABEL?
thanks,
sirjune
----- Original Message ----
From: Sir June <[EMAIL PROTECTED]>
To: Philippine Linux Users' Group (PLUG) Technical Discussion List
<[email protected]>
Sent: Monday, March 31, 2008 9:22:07 PM
Subject: [plug] LABEL=/var
hi
my system won't come online and it only mounted the root partition. How do i
manually boot the other partitions like /var/ or /usr ? what could be the
cause of this? see logs below..
thanks,
sirjune
# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda3 4127108 1798372 2119088 46% /
# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
#LABEL=/export /export ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/sda5 swap swap defaults 0 0
/dev/sda7 /data ext3 defaults 1 2
/dev/sdb1 /export ext3 defaults 1 2
logs while booting:
touch: creating `/var/lock/subsys/reconfig': No such file or directory
touch: creating `/var/lock/subsys/network': No such file or directory
Starting system logger: [FAILED]
Starting kernel logger: [ OK ]
/etc/rc3.d/S13irqbalance: id: command not found
/etc/rc3.d/S13irqbalance: [: =: unary operator expected
Starting NFS statd: [ OK ]
touch: creating `/var/lock/subsys/nfslock': No such file or directory
Starting httpd: [ OK ]
touch: creating `/var/lib/random-seed': No such file or directory
Initializing random number generator: [ OK ]
chmod: getting attributes of `/var/lib/random-seed': No such file or directory
touch: creating `/var/lock/subsys/random': No such file or directory
Starting sshd: Starting sshd:execvp: No such file or directory
[FAILED]
[FAILED]
/etc/rc3.d/S56xinetd: id: command not found
/etc/rc3.d/S56xinetd: [: =: unary operator expected
Starting ESM network server: [ OK ]
Starting routeit: [ OK ]
/etc/rc3.d/S83iscsi: /var/log/iscsi.log: No such file or directory
Couldn't load module iscsi
See error log in /var/log/iscsi.log
Starting console mouse services: execvp: No such file or directory
[FAILED]
Starting crond: execvp: No such file or directory
[FAILED]
Starting rscd: [ OK ]
Starting Systems Management Device Drivers:
Starting dcdbas device driver:/etc/rc3.d/S96instsvcdrv:
/var/lib/dell/openmanage/hapi/dcdbas.map: No such file or directory
chmod: getting attributes of `/var/lib/dell/openmanage/hapi/dcdbas.map': No
such file or directory
chmod: getting attributes of `/var/log/dcdbas.log': No such file or directory
[FAILED]
Like movies? Here's a limited-time offer: Blockbuster Total Access for one
month at no cost.
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total
Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph