LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-08-2007, 07:15 PM   #1
csantrim
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Q: How do I permanently mount a SATA RAID device?


I do this everytime, but having a problem with the FSTAB file:

/dev/sda on /mnt type ext3 (rw)

Thanks

Sean
 
Old 09-09-2007, 01:38 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
An entry in fstab like the following should be sufficient:

/dev/sda /mnt ext3 defaults 1 2

However:
1) It is unusual to mount /dev/sda as opposed to a partition of it (e.g. /dev/sda1, /dev/sda2). You might want to run "fdisk -l /dev/sda" to see what partitions are there.

2) /mnt is intended for temporary mounts (e.g. cdroms, floppies). You really ought to come up with a permanent name/directory if you intend to mount this automatically via fstab. You can just name something like /myraid by doing "mkdir /myraid" then substituting /myraid for /mnt on your command line and in your fstab.

You can verify the fstab entry without rebooting simply by typing "mount /dev/sda" and "umount /dev/sda" (or sda1 etc... see note about partitions above). If the fstab entry is correct it will get the rest of what it needs from there rather than requiring you to input details on the command line.
 
  


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 existing ntfs SATA RAID 0 on RHEL4 VIA fake RAID tmoble Linux - Hardware 10 11-13-2009 07:49 PM
Dell 2450 SCSI RAID and SATA device problem michaelsr Linux - Hardware 0 09-06-2007 10:28 AM
mount ntfs SATA Raid Youbou Linux - Hardware 1 02-23-2005 06:04 AM
Mount SATA drive (not RAID) EcceVery Debian 3 08-31-2004 05:47 PM
NFTS sata raid drives - won't mount jamangold Linux - Newbie 0 07-25-2004 06:57 PM


All times are GMT -5. The time now is 11:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration