Re: RAID1 always resyncs at boot???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well,
no, I do a regular shutdown with shutdown -h now, or reboot for rebooting.
I have it working now however.
I think what was wrong is that I had my /etc/fstab like this:
# <fs>               <mountpoint>   <type>      <opts>            <dump/pass>
/dev/sda1            /boot          ext2        noauto,noatime    1 1
/dev/sda5            /              xfs         noatime           0 0
/dev/dsa2            none           swap        sw                0 0
/dev/md0             /raid          xfs         noatime           0 0
/dev/cdroms/cdrom0   /mnt/cdrom     iso9660     noauto,ro         0 0
proc                 /proc          proc        defaults          0 0
tmpfs                /dev/shm       tmpfs       defaults          0 0

I did not have the fschk option (the last one) set to 1 on /dev/md0. At least
someone advised me to do so, so I set it to 1, tried to reboot and it works
just fine now ;)
(here is the thread of this help:
http://forums.devshed.com/t101414/sd5d6d3f616a474180753071f3ce364ef.html )

I still would like to understand WHY this helped, could you explain?

Another question: How do I restart "from scratch", reformatting the drives
does not earase the persistent-superblock etc....

And last one: Now that the RAID is setup (which is not holding the OS, it's
purely used for storage), I would like to use another disk for the OS. So
after I install Linux on another disk, can I just mount the RAID afterwards?

Thanks!



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux