LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2009, 11:21 PM   #1
bangsters
Member
 
Registered: May 2009
Posts: 51

Rep: Reputation: 15
cannot open or touch a couple files in var during boot.


Hi. New to this forum.

I have been trying to install centos5.3 with an remote hdd (via ISCSI with Intel Nic and remote iscsi boot). If I install the centos with default partitioning (LVM, just /, swap, and /boot partitions), everything installs fine. However, if I install with custom partitions, particularly putting /var and /usr in their own partitions, I get all sorts of error during reboots. It tells me that the system cannot touch a couple files (in /var and /usr) because they do no exist. However, after boot, I can see these files and they exist. The following files I can see so far that are being reported missing at boot are:

/var/run/getkey_done
/var/log/dmesg
/var/lock/subsys/kudzu
/var/locksubsys/ip6tables
/var/locksubsys/iptables
/var/run/netreport
/var/lock/subsys/network

I'm puzzled because if I create default partitions everything is fine. Also, after boot, var parition is mounted fine. Could it be because of the iscsi?

Another workaround I tried: Install using /var2 and /usr2 partions. Everything installs fine. However, once I move /var and /usr to these partitions, and reboot I'm presented with the same errors I've had earlier....

Please advice what I can do to fix. I've been at it for a week now and tried installing the system numerous times...

EDIT: Attached is the link for the screenshot of the errors I see at bootup. http://jnfelectronics.com/error.jpg
 
Old 05-20-2009, 02:07 PM   #2
bangsters
Member
 
Registered: May 2009
Posts: 51

Original Poster
Rep: Reputation: 15
bump anyone???
 
Old 05-20-2009, 02:15 PM   #3
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Sorry, I cannot advise much..other than, have you tried the Official CentOS forum
 
Old 05-20-2009, 02:31 PM   #4
bangsters
Member
 
Registered: May 2009
Posts: 51

Original Poster
Rep: Reputation: 15
not sure if it's a specific distro issue, but i'll try that as well.

but any idea why var partition not visible during boot
 
Old 05-20-2009, 02:35 PM   #5
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
As /var is on a separate partition can you please post your /etc/fstab. It might help.
 
Old 05-20-2009, 04:35 PM   #6
bangsters
Member
 
Registered: May 2009
Posts: 51

Original Poster
Rep: Reputation: 15
Here's what's in fstab


/dev/VG00/LogVol00 / ext3 defaults,_rnetdev 1 1
/dev/VG00/LogVol07 /dev/shm ext3 defaults,_netdev 1 2
/dev/VG00/LogVol08 /home ext3 defaults,_netdev 1 2
/dev/VG00/LogVol03 /usr ext3 defaults,_netdev 1 2
/dev/VG00/LogVol06 /backup ext3 defaults,_netdev 1 2
/dev/VG00/LogVol04 /tmp ext3 defaults,_netdev 1 2
/dev/VG00/LogVol01 /var ext3 defaults,_netdev 1 2
/dev/VG00/LogVol02 /var/tmp ext3 defaults,_netdev 1 2
LABEL=/boot /boot ext3 defaults,_netdev 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VG00/LogVol05 swap swap defaults,_netdev 0 0
 
Old 05-21-2009, 12:15 AM   #7
bangsters
Member
 
Registered: May 2009
Posts: 51

Original Poster
Rep: Reputation: 15
bump please.

thanks
 
Old 05-23-2009, 11:32 PM   #8
bangsters
Member
 
Registered: May 2009
Posts: 51

Original Poster
Rep: Reputation: 15
bump anyone??? I can't figure out why it's a problem with the initiator since it can install fine if default partitions are used. the moment /var is put on its own partition the OS crashes at bootup.

could it be the network is loading before the initiator connects to OF?? Anyone know how to fix this if it were the case??? The initiator in centos is installed by default with the OS, not sure if it has to be modified.

any help is surely appreciated as I'm stuck here for 2 weeks now and I can't deploy OF because of this.

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 02:35 PM
touch: cannot touch `/var/log/mysqld.log': Permission denied massoo Linux - General 1 08-01-2006 01:56 AM
/var/log/messages: Too many files open ThePreacherMan Linux - Newbie 4 06-21-2005 02:58 PM
Error - can't touch touch: /var/lock - filesystem problem? xanas3712 Linux - Newbie 0 05-10-2004 05:26 AM
'touch' command on subtree/files stoffell Linux - Software 2 09-23-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration