LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-11-2010, 02:45 AM   #16
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31

The first Raid 1 (2x146GB - sda) NOT TO BE TOUCHED. The second Raid1 (2x146GB sdb) can be erased, it dosen't contains any data. Thing is, I want to save the data from the first Raid1 (sda that is) and put the data on the Raid1 300GB and besides that, I need to import more extracted data from Raid1 sda, and on second raid1 sdb I don't have enough space, so that's why I added 300GB raid1 sdc. And yes, I want to make the Raid1 300GB ext3 that is mounted in /mnt/disk3/ or /mnt/disk300 or /home/disk300 dosen't matter, I can change it later. You got it all right, and yes, 900GB is out of the question, but uber data there, so it's quite dangerous, don't f*ck around.

[root@xxx ~]# pvscan
PV /dev/sdd1 VG vg0 lvm2 [850.00 GB / 59.37 GB free]
PV /dev/sda2 VG VolGroup00 lvm2 [136.00 GB / 0 free]
PV /dev/sdb1 VG VolGroup00 lvm2 [136.09 GB / 0 free]
Total: 3 [1.10 TB] / in use: 3 [1.10 TB] / in no VG: 0 [0 ]
[root@xxx ~]#


idk, what's with the 262gb
 
Old 04-11-2010, 03:46 AM   #17
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Quote:
Originally Posted by mweed View Post
Assuming that 900G disk is to be ignored the only way this can happen is if sdb1 is of type LVM and part of VolGroup00.
Good guess, mweed. Spot on! The CentOS was probably installed with the two arrays in place, in which case that would have been the default.

ytd, you need to learn about lvm and how to work it before you go any further.

You are quite lucky that you didn't hose the whole volume group when you started messing about. What you are asking (and the way your machine is configured) makes little sense.

With logical volume management, when you run short of space you can can install more physical disks, initialise them as physical volumes, add them to the relevant volume group, and include them as you want into the logical volumes. Then you resize the file system to match the new size of the volume.

If you actually want to remove a drive, you need to use lvm commands to move the data off that drive first.

However, all of this requires a level of knowledge about basics like filesystems and partitioning that you clearly don't yet have and I would advise against using a machine that has 'uber' data on it to learn with.
 
Old 04-11-2010, 07:39 AM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I am also confused. Does it make sense that the 4 drives are actually configured as RAID 10 and not just RAID 1. Then sda and sdb arrays are spanned together.

EDIT mweed has got it. ATM the only thing I can add is that you are using the 2nd RAID since used space is > 136GB.

Last edited by michaelk; 04-11-2010 at 07:57 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resize ext2/ext3 partition georgec Linux - Software 4 09-22-2009 05:40 PM
LXer: Mount an ext2 or ext3 partition in Windows LXer Syndicated Linux News 0 03-28-2007 07:46 AM
writing on ext3 partition with ext2 driver. Journal? rokkon Linux - Hardware 4 06-07-2006 07:05 PM
Kernel Panic with Ext2/Ext3 partition check kewlemer Linux - General 3 04-06-2005 07:49 PM
How i make Ext2,Ext3 partition from FDISK Shiraz Ahmed Linux - Software 1 08-23-2004 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:54 AM.

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