Linux - GeneralThis 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
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.
I just finished updating my system from FC4 to FC6 and did so with a new hard drive. The old hard drive has been fdisk(ed) to delete the original partitions and repartitioned with one big partition
I have the majority of the new disk devoted to /video
Do you want to move the original video directory to a new hard drive/partition? If so, you have to mount the new partition to a temporary place (e.g. /mnt/tmp), copy all the necessary files from /video to /mnt/tmp, delete original /video, and remount the new video partition to /video. Make the relevant changes in /etc/fstab. It is quite straightforward, just be careful (and do backups!).
can also use the Logical volume manager to group the disks into a volume group and create one large logical volume which you can mount as a filesystem and resize on the fly .
Included in some distro's notably suse , can be downloaded and added afterwards.
The only problem with this in your situation is the fact that you need to pull in the entire disk.
This is going to be a ongoing project with drives being added to /video as needed, or replacing a 150 gigger with a 750 GB drive.
With that is mind is one approach better than the other? I want this to be as painfree as possible after I get it setup. Not to worried about how difficult it is to setup this time through.
I'm surprised you're not already using LVM with Fedora.
It'd be perfect for something like you're contemplating.
You still need to be able to grow the underlying filesystem - I've had issues with ext3 in the past. Others say it's fine.
Then there is the issue of performance as you get bigger. Might be worth also investing some time checking alternate filesystems - xfs, jfs, (ext4 ???) whatever.
If you are looking for ease of management and configuration then I would recommend using LVM.
You can add physical volumes to the volume group on the fly , extend the filesystem on the fly , even reduce it on the fly , (that is dangerous though , you can very easily destroy your data so backup before you do that)
If you wish to migrate to another PV then you can mirror to it and reduce the mirrors online .
One limitation that could still be in force on opensource lvm is that the largest physical volume that you specify at volume group creation time is the largest pv you will ever be able to add to that Volume group.
In this instance a create a new vg with larger disk , create lv , mount it as a temp name and copy data across.
or backup , recreate including larger disk and restore.
I have been using reiserfs with lvm on suse and I must say i have no hassles with dynamic filesystem resizing.
LVM is also what is used by default on most of the non open source ux distros out there , although the filesystem used on them is normally a jfs version.
It makes life a lot easier for an admin.
Here is some of the relevant lvm commands in order of use
pvcreate (formats a disk for lvm use , destroys all data currently on disk)
vgcreate
lvcreate
lvextend (allows mirroring as well)
mkreiserfs (8) - The create tool for the Linux ReiserFS filesystem.
resize_reiserfs (8) - resizer tool for the ReiserFS filesystem
reiserfsck (8) - The checking tool for the ReiserFS filesystem.
reiserfstune (8) - The tunning tool for the ReiserFS filesystem.
fsck.reiserfs (8) - The checking tool for the ReiserFS filesystem.
mkfs.reiserfs (8) - The create tool for the Linux ReiserFS filesystem.
debugreiserfs (8) - The debugging tool for the ReiserFS filesystem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.