LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   REMOVE SOFTWARE FROM LINUX CentOS VERSION 6.0 (https://www.linuxquestions.org/questions/linux-newbie-8/remove-software-from-linux-centos-version-6-0-a-4175424881/)

chenyungwang 08-30-2012 10:34 PM

REMOVE SOFTWARE FROM LINUX CentOS VERSION 6.0
 
Hi,

FYI -
a) CentOS version 6.0.
b) Software RAID.
c) Existing Software RAID 1 (mirror) mount point only md0 and md1 (/).
d) Managed to find information from following web page.
http://tcpdump.com/kb/os/linux/remov...d-devices.html
e) Able to umount md0 not for md1 even had tried to kill process or fuser.
f) Error message - device busy.

Reason: Migrate Physical Linux Server to Virtual Server (WMware vSphere 5.) using VMware P2V product(only certify for Linux and Windows).
The best patrice for VMware ESXi and Windows Virtual Server always using SAN/ DAS/ NAS with either RAID 1/ RAID 10/ RAID 5.
As for VMware could not recognize software RAID for Linux except Windows working perfect.

Please advice is there any work around method to remove software RAID or similar function from Oracle Solaris (snapshort)

Thank you.

Regards,

Wang Chen Yung

deadeyes 08-31-2012 08:39 AM

Is md1 in the mount list?

chenyungwang 09-02-2012 08:08 PM

Hi,

Oh! The md same as Solaris medata disk using Vertias File System, md1 is the mount point for /.

If check from /etc/process should show all the existing process ?.

Please advise.

Thank you.

chrism01 09-02-2012 08:40 PM

Obviously you can't umount the root filesystem; that's where the OS lives.
You'll have to shut it down first.

deadeyes 09-03-2012 06:47 AM

Quote:

Originally Posted by chrism01 (Post 4771017)
Obviously you can't umount the root filesystem; that's where the OS lives.
You'll have to shut it down first.

I wonder if remounting it to one of the legs of the raid would work(sorry for my bad wording, can't recall the terminology for that at the moment).

In Solaris you certainly have to reboot.
You can already remove one of the subcomponents (for raid1) and configure that in /etc/vfstab.
Make sure your /etc/system is file is correct and no longer pointing to the metadevice.

Hopes this helps.


All times are GMT -5. The time now is 11:55 AM.