Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not exactly true, although it may still apply to fdisk or gdisk.
I had not tried that before, but I suspected gparted could handle that since it uses libparted-dmraid to handle md devices. As a test I just created a raid5 array (/dev/md0) using mdadm, then used gparted to create a partition table, define 3 partitions, and format all as ext4 on that array. The partitions were named /dev/md0p1, /dev/md0p2, & /dev/md0p3.
The device can also be directly defined as a PV using pvcreate then added to a VG in an LVM system. It then is seen by gparted as an LVM partition. I have done this on several different systems.
In (partial) closing -
I really, really appreciate you sticking with me until this is resolved.
NP.
I did not anticipate you going back to disks after the partitioning was done with gparted, but since it worked that was a great trade-off over doing it manually.
Apparently after the partition table was created then disks was able to handle the raid device the same as any other disk. It now did not have to deal with the underlying hardware/raid device, but only with the partitioning & formatting (already done) & mounting while defining a mount point.
We learn something new every day!!
NP.
I did not anticipate you going back to disks after the partitioning was done with gparted, but since it worked that was a great trade-off over doing it manually.
Apparently after the partition table was created then disks was able to handle the raid device the same as any other disk. It now did not have to deal with the underlying hardware/raid device, but only with the partitioning & formatting (already done) & mounting while defining a mount point.
We learn something new every day!!
And we do not mind hanging with someone who has a problem. Helping and learning are the reasons we are here in the first place! ;-)
created a raid5 array (/dev/md0) using mdadm, then used gparted to create a partition table, define 3 partitions,
That is exactly how I started messing with RAID.
Of course some though it was nuts to have RAID5 on SAME disk!
That original scheme is still around and some day I'll get ambitious and use what is now scattered among 7 (!) USB and SATA disks. (If I can find it .... I am counting on grep... )
created a raid5 array (/dev/md0) using mdadm, then used gparted to create a partition table, define 3 partitions,
That is exactly how I started messing with RAID. Of course some though it was nuts to have RAID5 on SAME disk!
That original scheme is still around and some day I'll get ambitious and use what is now scattered among 7 (!) USB and SATA disks. (If I can find it .... I am counting on grep... )
That is nuts, but for learning it is OK. It just totally defeats the hardware redundancy that is built into the design of raid5, so don't rely on it to use for long periods.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.