Skip to main content

Thread: Problem with automounting raided drives in ubuntu.


hello guys!

have small issue. i'm starting use ubuntu. i'm certified work on windows, linux little difficult me.

ubuntu installation im using fileserver via samba shares has problem of not automounting raid drive. raided drives being used samba.

being said, how make ubuntu auto load drives when startup?

have been having power outages lately. hurricanes , fall storms... each time server shutdown, raided drive has remounted. meanwhile if im not on duty, access samba shares broken until remount raided drives.

think ubuntu automatically this, doesnt.

new ubuntu. know there configuration files have spoon fed make easy operations work.

looking on forums , read fstab file needs edited. however, when tried put in info, problem still occurs. must doing wrong.

here blkid , fdisk -l commands:
disk /dev/sda: 250.0 gb, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x00000080

device boot start end blocks id system
/dev/sda1 * 1 30017 241111521 fd linux raid autodetect
/dev/sda2 30018 30394 3028222 5 extended
/dev/sda5 30018 30394 3028221 82 linux swap / solaris

disk /dev/sdb: 250.0 gb, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x00000081

device boot start end blocks id system
/dev/sdb1 * 1 30017 241111521 fd linux raid autodetect
/dev/sdb2 30018 30394 3028222 5 extended
/dev/sdb5 30018 30394 3028221 82 linux swap / solaris

disk /dev/md0: 246.9 gb, 246898098176 bytes
2 heads, 4 sectors/track, 60277856 cylinders
units = cylinders of 8 * 512 = 4096 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x00000000

disk /dev/md0 doesn't contain valid partition table

disk /dev/sdc: 16.0 gb, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x00036801

device boot start end blocks id system
/dev/sdc1 * 1 1816 14585856 83 linux
/dev/sdc2 1817 1947 1044481 5 extended
/dev/sdc5 1817 1947 1044480 82 linux swap / solaris
and....

/dev/sdc1 * 1 1816 14585856 83 linux
/dev/sdc2 1817 1947 1044481 5 extended
/dev/sdc5 1817 1947 1044480 82 linux swap / solaris
root@viewmaster-pc:~# blkid
/dev/sda1: uuid="2e1d7b82-0623-191d-01de-944d0b8744e9" type="linux_raid_member"
/dev/sda5: uuid="2fc8d598-7e18-46f3-bac3-9c114a3b7de5" type="swap"
/dev/sdb1: uuid="2e1d7b82-0623-191d-01de-944d0b8744e9" type="linux_raid_member"
/dev/sdb5: uuid="19111bb4-3094-40a5-8823-d1bfe2110458" type="swap"
/dev/md0: uuid="d0406e91-f932-4b31-bb01-5cf39f82a51e" type="ext4"
/dev/sdc1: uuid="31addba2-6422-4e9b-b65e-fb00c68efdc0" type="ext4"
/dev/sdc5: uuid="5c47552e-4fd4-45db-acb3-af6824c5378a" type="swap"
and contents of fstab file:

# /etc/fstab: static file system information.
#
# use 'blkid -o value -s uuid' print universally unique identifier
# device; may used uuid= more robust way name
# devices works if disks added , removed. see fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
uuid=5c47552e-4fd4-45db-acb3-af6824c5378a /media swap default 0 0
i appreciate assitance. know there must im typing wrong...

thanks
michael

have @ these how tos. http://www.linuxhomenetworking.com/w..._software_raid or http://www.howtoforge.com/how-to-set...n-ubuntu-10.04

on box /dev/sda1 , /dev/sdb1 part of /dev/md0 raid , raid isn't /

think in fstab

/dev/md0 /mnt/raid ext4 defaults 1 2

work


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Problem with automounting raided drives in ubuntu.


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support