LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2009, 09:15 AM   #1
gdsylvester
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
need to remove md0 from root.


I have an Ubuntu server 64 with md0 raid on root.

/dev/md0 on / type ext3 (rw,relatime,errors=remount-ro)

#mdadm --detail /dev/md0:
/dev/md0:
Raid Level : raid1
Array Size : 75208192 (71.72 GiB 77.01 GB)
Used Dev Size : 75208192 (71.72 GiB 77.01 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Aug 31 10:07:44 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : c5993f75:db028d92:3f29da55:bf6dcaf9
Events : 0.4632
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1


I need to remove this to run vmware converter (doesn't like md0).
I can't kill the raid because I am mounted on root.

I know cfdisk, grub, fstab and /etc/mdadm/mdadm.conf are involved but not quite sure how to proceed. I have backed up the whole system.
 
Old 08-31-2009, 08:40 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, if you've got '/' raided, but you want to get rid of the raid, I reckon you need to boot off the installation media, and at text prompt type

linux rescue

You can then proceed to fdisk the HDDs. Remove the fstab and mdadm.conf entries, change the partition types to 83 (std Linux). You'll need to ensure you still have a swap partition (type 82). Update the fstab to match.
http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove Root password BangorScott Mandriva 27 07-20-2012 04:32 AM
/dev/md0 is now /dev/root TL_CLD Slackware 4 04-22-2009 06:27 AM
Trouble using /dev/md0 for root sauce Linux - Server 5 05-23-2007 05:28 PM
Kernel panic: VFS: unable to mount root fs on md0 doria Linux - Newbie 2 06-16-2004 11:10 AM
How do i remove Wmaker from root? NightSky Slackware 1 05-17-2002 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration