Need advise after adding 4TB disk (FC17, KDE)
My FC17+KDE system resides on a pair of 130GB SAS disks
arranged in RAID 0 array /dev/sda and using LVM:
I bought a pair of 2TB SAS disks, arranged them too
in another RAID 0 array (well, it had been actually reported
as 3.8TB, the usual disk manufacturers tricks of redefining
measurment units) and started looking for a way to create
an lvm2 volume on the new disk and to mount it on /home/GRAPHICS
(the largest disk space consuming directory).
During the system installation I liked the "disk druid" GUI
program but after some reading I saw it can't be used after the
installation (at least, not in a simple way).
I installed "sys-config-lvm" and "gparted" and looked also
at "lvm" and "cfdisk" and "fdisk".
I would prefate a nice GUI app like "disk druid" but I couldn't
find (or missed) an app to do what I need.
At first I created an "ext4" partition on the /dev/sdb but
then I remembered that I should create physical volume instead
so I deleted the partition.
The "system-config-lvm" didn't see the /dev/sdb disk at all,
in "gparted", looking at the avaliable types of creating a partition
I didn't see any option to create a physical volume (which, AFAIK
is needed to create logical volumes group and then lvm2 volume),
starting "cfdisk" resulted in the following message:
I've read about LINUX partition size limits and learned that
I have one more obstacle of which I didn't think earlier.
lookin at /dev/sdb with "gparted" it shows the entire disk "unallocated".
I'm beginning to feel "lost" in what initially looked like a sinple
task of adding a disk to the system.
Can anyone guide me as to what actions should I take to create
ext4 filesystem on LV of 3.8TB on PV resiging on /dev/sdb ?
GParted is a really nice GUI but it doesn't support LVM. I know Red Hat / Fedora has a GUI tool specifically for LVM. But I don't know of a GUI that does both LVM and File System stuff. :(
I don't have much experience with software RAID. But assuming /dev/sdb is a RAID block device I would do the following things.
(But first... Note: Making changes to partition tables and filesystems can result in complete loss of data. You are ultimately responsible for your data. IE, have a backup, understand commands, don't copy/paste commands.)
Use fdisk to delete all partitions
I would caution you about the RAID 0. Make sure you have backups.
Another thing you can do is just attach both disks and use LVM to combine them into a single volume. That might be easier to manage then a RAID. You could more easily expand or shrink the volume.
Hope that helps some.
Hi jasohl, thanks for the reply.
In fact, after some more reading and searching among the commands
I found that using the "gdisk /dev/sdb" I can create the GPT-type
partition ("LINUX LVM", type code: "8E00") and after that
I could use the "system-config-lvm" to create the physical
volume, logical group and logical volume. Currently, it's
mounted on a slightly differently named directory than my
and the new GRAPHICS_lv directories, I'll need to
boot LINUX into command line mode (without the desktop coming up),
to rename "GRAPHICS" to "GRAPHICS_old", to rename "GRAPHICS_lv"
to "GRAPHICS", to edit appropriately the /etc/fstab, to reboot
and hopefully the GUI (with various links from GRAPHICS to the desktop)
won't notice any change.
Now I need to find out how to pause the boot process and
force the command line boot...
It took some time to figure out where to add the "3" on the grub2 menu (most searches showed a single line command,
not a multi-line entry) but finally I could boot without desktop starting, to rename "GRAPHICS" to "GRAPHICS_old",
to attempt renaming "GRAPHICS_lv" to "GRAPHICS, to encounter an error "device busy" (or something like
thhis), to attempt unmount, to get the same error, to rename back, to reboot normally, to comment the line in /etc/fstab
which mounts the new disk, to reboot into command line, this time to successfully rename everything
as I want, to replace /etc/fstab with the one with mount command to "GRAPHICS" instead of "GRAPHICS_lv"
and after reboot - everything is as I want it: new 3.6 TB disk (hardware RAID 0) is mounted on "GRAPHICS"
Thanks for all the help,
|All times are GMT -5. The time now is 10:27 PM.|