On Wednesday 25 May 2005 03:00 am, Danie Theron wrote: > Hi , > > I know this is a bit off bacula topic probably. I want to remove RAID1 > from a disk , everytime I boot it it's looking for the 2nd disk. I want > to simpy boot into a normal "vanilla" disk. Can I edit the fstab and > just change the /dev/md0 device to whatever the disk is (/dev/hda) ? I'm > really at odds here , if anyone can maybe help me or point me in the > right direction that would be great. > > Thanks in advance! > > Danie >
Danie, Tread cautiously here, as you easily can loose everything! FIrst, run mdadm --detail /dev/md0 to find out exactly what partitions are included in the md0 device. The last two lines or so should give you the information. Run mdadm -S /dev/md0 to shut down mirroring. Use cfdisk /dev/hda. Change the partition type for the relevant partition(s) from FD (RAID autodetect) to 83 (Linux). Write & reboot. When you reboot, no RAID components should be detected and you can mount your partition(s) normally. (Edit /etc/fstab appropriately before rebooting.) BACKUP, BACKUP, BACKUP!!! (Wouldn't hurt to backup your partition table with sfdisk -d, as well.) A similar way to do this would be to boot from a Knoppix disk. Make all the changes & then reboot. Cheers! cmr -- Debian 'Sarge': Registered Linux User #241964 ---- "More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC -------- ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users