Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-08-2007, 07:15 PM   #1
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)


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

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

/dev/sda /mnt ext3 defaults 1 2

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.


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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:55 PM.

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