[SATLUG] First question - RAID5 quit working - commenting out in fstab

David Labens adlabens at swbell.net
Mon Aug 17 19:40:10 CDT 2009


Here's my fstab file:
root at RCH-SERVER:/etc# vim fstab

# /etc/fstab: static file system information.
#
# COLUMN HEADINGS
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
#
# MOUNT PROC
proc            /proc           proc    defaults        0       0
#
# MOUNT UBUNTU OSS HDD = /dev/sda1
UUID=06c0dfc0-4fa7-4e53-a4b9-b41f698bb49e /               ext3    relatime,errors=remount-ro 0       1
#
# MOUNT UBUNTU OSS SWAP = /dev/sda5
UUID=4081d67c-74af-49ed-9b87-a312983ada62 none            swap    sw              0       0
#
# MOUNT /NW-DATA HDD
UUID=5ad9e3a3-6e29-4f8e-b0c5-b26c430f8b42 /NW-DATA ext3 defaults 0 0
#
# MOUNT CD-DVD ROM DRIVE
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

I thought the "#" meant the line was commented out.  If that's the case, then I need to put a "#" in front of the line "UUID=5ad9e3a3-6e29-4f8e-b0c5-b26c430f8b42 /NW-DATA ext3 defaults 0 0" - because that's the RAID5 array

Am I correct?

Thanks,
David Labens

San Antonio, TX

--- On Sun, 8/16/09, Don Wright <satlug at sbcglobal.net> wrote:
Fixing the RAID, Part II
========================

One additional bit of advice before we start. You don't want to mount the underlying volume before you get the RAID repaired so the array contents stay in sync. The RAID will be mountable as soon as at least one extra drive is added, but your data will be safer if we avoid doing things by accident. If you're worried this might happen, just comment out the line in /etc/fstab that mounts the array. Any surprise reboots halfway through will be less annoying.


More information about the SATLUG mailing list