LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   netbook usb raid configuration (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/netbook-usb-raid-configuration-852098/)

oznola 12-23-2010 03:27 PM

netbook usb raid configuration
 
hi,

i have what i believe to be a working raid 1 on my ubuntu 10.10 netbook. i am trying to verify that i have it setup okay. subsequently i have posted a thread asking opinions at ubuntu forums here...
http://ubuntuforums.org/showthread.php?t=1651713

or if anyone here can confirm that my raid is working it would be a big help to me.


please advise.

thank you. :)

DragonSlayer48DX 12-23-2010 08:51 PM

Thank you for letting us know you solved your problem. Could you kindly post details on your issue and the solution you found so it may help others in the future?

TIA :)

oznola 12-24-2010 03:53 AM

Quote:

Originally Posted by DragonSlayer48DX (Post 4201650)
Thank you for letting us know you solved your problem. Could you kindly post details on your issue and the solution you found so it may help others in the future?

TIA :)

hi,

my efforts have become somewhat convoluted since i first started this thread (this is my first attempt at a raid). i started another thread at ubuntu forums here...
http://ubuntuforums.org/showthread.php?t=1651853

with the output from...
$ sudo mdadm --query --detail /dev/md*

and...
$ sudo fdisk -l

someone there has recommended to run...
$ sudo mke2fs -t ext4 /dev/md0

and then add a line to /etc/fstab to permanently mount the raid.

subsequently i presume that my original raid 1 configuration was correct. however, before i received the reply to the other thread i dismantled that first raid 1 and attempted to reconstruct it a second time placing a grub into /dev/sdb1 instead of the default first hard disk. this was a mistake. /dev/sdb1 seems to have been the usb stick i was running the alternate ubuntu installer from and now have to remake the usb startup disk and i will repartition the usb sticks to be used as a raid 1 as i did before following the instructions here...
https://help.ubuntu.com/community/In...n/SoftwareRAID

i will then try to run mke2fs as recommended in the other thread.

perhaps i should not have marked this thread solved and if possible i will unmark it as solved if you recommend it because i still have not got the raid working.

i was trying to break the problem down into smaller questions to move towards the final solution thus my questions about "is the raid 1 correctly configured?"

because i have never setup a raid before i am sort of feeling my way as i go.

thank you for asking about why/how it was "solved" i think its helpful to everyone for me to explain it including myself.

:)

oznola 12-24-2010 04:21 AM

when i try to remake the raid the third time i will try to install the grub onto the third disk which is the disk i am formating for the raid in the system i am using.

i had not considered that /dev/sdb1 would be the usb install stick.

the ubuntu wiki link above discussing configuring a raid says that the raid disks should be bootable independently if they are correctly configured. mine were ~not~ which is why i was seeking confirmation that they were correctly configured. and while they may have been correctly configured; i had not installed the grub on to them. this is why i believe i have to install the grub directly onto them and not the default first disk which is my netbook hard disk.

the lack of bootability of my first raid disks is why i was doubting they were correctly configured.

in addition to cofiguring the raid disk0, disk1 and md (multi-disk) i have to setup the md mount point.

perhaps i could have got away with just setting up the mount point for my first md and said thats the end of it but i want it to be proper.


All times are GMT -5. The time now is 08:10 PM.