Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i got a running ftp server, with 250GB mirror and a 300 GB mirror. now my 300 GB drive is full and i can't add new drives, so the 250GB needs to give up some room. it's no problem clearing these drives, but then i need to add the drives to the 300 GB mirror without losing any of the data on those drives.
any way can i just change the mirror to raid5 or maybe get the 2 mirrors to work in raid1 without losing the data?
just for the info, here's the current layout:
could it be possible to add these two mirrors together in eg:
................> new raid1
I'm assuming from your question that you want to have everything in one filesystem? (If not then why not just make the 2 different RAID 1 devices separate mounts?)
You can't really add dissimilar sized drives into a RAID 1. If you did RAID 5 (at the drive level) you could only go to the size of the smallest volumes (thereby losing 50 GB on each of your 300 GB drives). Of course this would gain you some space back because instead of giving up 300 GB and 250 GB for mirroring you'd only give up 350 GB total for RAID 5 (the 100 GB on your two 300 GB drives and 250 GB for parity).
Of course you can do RAID 5 at the partition level but that doesn't help if you're looking for a single filesystem.
Is this software RAID or hardware RAID? If it were me I'd probably just put both RAID 1s into Logical Volume Manager (LVM) in single Volume Group (VG) since it wouldn't care about disk sizes. I'd then make a single Logical Volume (LV) out of the VG to use as the mount point.
However I don't know how you could do that without losing the data. You'd need to do a full backup of the RAID 1s then the creations then restore the resulting mount.
"man lvm" will give you more info on the use of LVM.
thnx for the reply. i figured i could not do that. but then again, linux keeps amazing me with things i figured where impossible.
i'll be sure to check lvm, i've seen it before but it never came to me to use it. in the mean time the search for a 300 GB temp. storage drive has begun. it's either that or going to store for a ****load on dvd disks...
I did say I'd put both RAID 1s in a single VG but that isn't required unless you need one filesystem. If you can live with more than one filesystem you could just partition the second RAID 1 or put in LVM and make LVs out of it.