LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-19-2008, 12:11 PM   #1
iffarrukh
LQ Newbie
 
Registered: May 2008
Posts: 18

Rep: Reputation: 0
mount problem. vg device file deleted upon server restart


Hi,

I am facing a strange problem. I have a server with red hat installed on it. This server is connected to a storage server via fibre channel.
Few days ago we presented a hard disk to this server.

I created a volume group for that hard disk and it was working fine.
Some days ago server has to be restarted. When server came back, server was unable to mount logical volume because volume group folder in dev as well as logical volume device file was deleted. I have to recreate it using vgscan then making VG active.

For checking purposes I restared server again and volume group folder was again deleted.

Any one have any idea about this why this could happen. There is no information of it in system logs.

Need help from you guys.


waiting for response.

Regards
Farrukh
 
Old 07-20-2008, 10:14 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Yep. I'll bet the os uses udev. udev creates /dev at boot. so anything you make yourself disapears after a reboot. the proper way to fix this is to add a udev rule so that udev makes your device along with everything else. but I'm usualy to lazy for that and just add the command I have to issue everytime to one of the bootscripts.
 
Old 07-20-2008, 11:15 PM   #3
iffarrukh
LQ Newbie
 
Registered: May 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Hi

thanks for your response..


Could you tell me how to do this.

Any example....


Regards
Farrukh
 
Old 07-20-2008, 11:28 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Well here is a good tutorial on udev rules:

http://reactivated.net/writing_udev_rules.html

The bootscripts vary from distro to distro. I haven't used redhat since 4.something (and that was red hat not RHEL or fedora) So I'm a bit out of my element on that. I don't know if it helps but for me on gentoo I always add that crap to:

/etc/conf.d/local.start
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
how to check who deleted a file in samba server tajamari Linux - General 2 08-14-2007 09:48 PM
deleted httpd.conf - apache still finds it after restart jordanthompson Linux - Software 1 10-16-2004 02:08 PM
Mount restart problem pazvant Linux - General 1 01-06-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:40 AM.

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