Mike Reinehr wrote:

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.
That sounds like an interesting experiment I'll try once on a machine where the data doesn't matter. I hadn't thought it would be able to work.

Jo


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to