WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Software RAID doesn't save config's  (Read 9204 times)

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Software RAID doesn't save config's
« Reply #15 on: July 02, 2010, 07:51:25 PM »
Thanks. I'd appreciate that. Feel free to list any specific testing you want done as well. I'm not a TUX yet (I come from the other side of the fence) but I am techo so I can read.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Software RAID doesn't save config's
« Reply #16 on: July 03, 2010, 05:01:01 AM »
I can see the rational behind that. In the mean time, any suggestions as to how I can mount this array.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Software RAID doesn't save config's
« Reply #17 on: July 03, 2010, 05:28:51 AM »
What maro and bmarkus meant with manually mounting was to create the directory, and to mount with full parameters (which works irrespective of fstab). If the array's assembled and formatted:
Quote
sudo mkdir /mnt/point
sudo mount /dev/md0p1 /mnt/point

This is of course separate from the legitimate issue of lacking raid support in rebuildfstab.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Software RAID doesn't save config's
« Reply #18 on: July 03, 2010, 10:20:49 AM »
Make sure the partitions used to assemble the array are type 'fd'.
mdadm only auto assembles partitions so marked.

You can manually mount without fstab entries:

mkdir /mnt/md0
mount /dev/md0 /mnt/md0

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Software RAID doesn't save config's
« Reply #19 on: July 04, 2010, 12:59:31 PM »
Thanks for the words of wisdom. The manual process works.

I put the assemble command in bootlocal.sh along with the mkdir and mount commands. The assemble and mkdir work but the mount does not. I do not see any error messages. I can manually mount immediately from a terminal session (sudo su).

I'll ask a new question on that outside of "bugs" thread.

Thanks. I look forward to the next version of rebuildfstab.