On Thu, Nov 29, 2001 at 12:18:11AM +1100, Darryl Harvey wrote:
> I have a setup that is currently running under raid1.
> 
> I want to stop the raid and use it as normal disks again (especially the 
> boot device)
> 
> Every time I issue "raidstop --all"  or "raidstop /dev/md0 /dev/hda1"
> it come back saying either "nothing to do!!, or "device or resource busy"
> 
> [root@slab root]# raidstop /dev/md0
> /dev/md0: Device or resource busy

Since you've booted off this, this makes sense.  If you can umount
/dev/md0, I would think that you should be able to raidstop it.

> How can I turn off this raid and use the disks as per normal again?
> 
> Current partiton table:
> $ fdisk -l
> 
> Disk /dev/hdc: 16 heads, 63 sectors, 38792 cylinders
> Units = cylinders of 1008 * 512 bytes
> 
>     Device Boot    Start       End    Blocks   Id  System
> /dev/hdc1   *         1        31     15592+  fd  Linux raid autodetect
> /dev/hdc2            32     38792  19535544    5  Extended
> /dev/hdc5            32     18317   9216112+  fd  Linux raid autodetect
> /dev/hdc6         18318     28633   5199232+  fd  Linux raid autodetect
> /dev/hdc7         28634     34729   3072352+  fd  Linux raid autodetect
> /dev/hdc8         34730     36761   1024096+  fd  Linux raid autodetect
> /dev/hdc9         36762     38792   1023592+  82  Linux swap

I haven't tried this, but I would suspect that you should change the partition
types away from 'fd' and back to whatever a normal partition is (which escapes
me right now).  Then edit /etc/fstab to point to the /dev/hd<whatever> units,
reboot, and see what happens.  You should also alter your LILO or Grub config
files to boot off the right unit.

> I did try to alter the partition table, but that failed.

Fail how?

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to