LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2008, 06:24 AM   #1
viral_Ahire
LQ Newbie
 
Registered: Dec 2007
Posts: 20
Blog Entries: 1

Rep: Reputation: 0
block device file delet after reboot from /dev


Dear Friends,

I have Configured RAID 5 in my Linux system(RHEL5).Now the Problem is ,i have created /dev/md5 through mdadm command.but after reboot linux it is not appearing in /dev directory.So i made one block device file with "mknod" commant and it was created successful but after reboot also it removes from /dev.

I can see my RAID status through "cat /proc/mdstat" command ,and it is showing active,but i can not run mdadm -D /dev/md5 ,due to md5 (block device) five does not exist in /dev.


Please Help me to resolve this problem.



Regards,

VIRAL AHIRE
 
Old 03-15-2008, 08:38 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
http://www.redhat.com/docs/manuals/l...ware-raid.html
 
Old 03-15-2008, 08:43 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
General: typically if there are some things that are "reset" when rebooted (alias in your shell, for example) then boot scripts are used to make them re-appear after you boot -- effectively making it look like those things were permanent. Sort of like if you want to run "ls --color" when typing "ls", you would make an alias for it, and to have it work forever after that you'd add it to a file that is read by your shell when you invoke it which creates the alias. It looks as if the alias is permanent, but it really isn't -- it's just re-made when the appropriate file is read. Boot scripts (init scripts) take care of things that happen when the system boots, so things you would want to happen every time you boot you can turn into an init script, or append to one. That's how it basically works today..most things are set up for you when you install the operating system (like udev automatically creating the device files for your devices), but some things are not, and as the system admin you need to do them yourself.
 
  


Reply



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
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
/dev/sda1 not valid block device pcpinkerton Linux - Hardware 19 02-29-2004 07:48 AM
HELP: /dev/scd0 is not a block device fysx Linux - Hardware 1 09-02-2003 11:51 PM
USB - /dev/sda1 is not a block device rstebbins Linux - Hardware 4 08-14-2003 05:16 AM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration