[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: partition tip ?



Arne Chr. Jorgensen wrote:
Hi,

Thanks.
Note.
You cannot move the start point of any partition.
You can join two or more partitions to make one larger partition, but you can only do this and retain the (physically) first of the partitions.


It's possible to have dual boot, like Fedora + Windows.  Is it not possible
to  have a  dual  boot,  like  FC6 and F8 ?

I don't understand why you ask that. I have had for or five different Linux distros on one disk.


For LV - there is resize2fs, and lvreduce commands.
In this case,  disk would be expensive.  There is a Raid Array Controller, and
Fedora uses: Fusion MPT base driver 3.04.04 Copyright (c) 1999-2007 LSI Logic Corporation

It would be nice to have it split up, so you could run test versions.

If your CPUs have hardware virtualisation, then you can test inside xen or kvm. It doesn't test everything, of course.

I have already outlined the basic procedure. If you can't backup your data, and you can't add to your disk storage then I suggest a cheaper test system (depending on what you need to test). I really don't like risking important data by doing inherently risky things with my disks.

There is nothing better than a separate test system with all the hardware you need to do the testing you need to do. It neither disrupts not risks your production workload.







//ARNE

John Summerfield <debian herakles homelinux org> wrote: Arne Chr. Jorgensen wrote:
hi,

What would be a smart way to partition a disk ?
I have Fedora core 6 installed, but would like to test F8 and have it as a separate partition  However - I had used the entire disk, and I have not found
any way to resize the partition.  Have tried "resize2fs" - but it says "online resizing required".  What does that mean ?

It does?

ext3 supports online resizing, but I think only for growing.


I have tried different suggestions I have found regarding Logical volumes, but have not found anything that work.
I am attempting to save some data, and may do a clean install again, but
it no longer seem like a good idea to have all space given to a single volume ?   Any  tip on this subject ?

New disks are cheap. Adding a second disk is a safe way to accomplish what you want.

I have not resized LVM, but I have done with with straight ext2/ext3 partitions. In fact, I can't see any advantage to me in using LVM.


Tbe procedure, some years ago, for making ext2/2 smaller was something like this. You do not have any partitions on the disk mounted.
0. Backup.
1. e2fsck -f
2. resize2fs to a new size. I suggest smaller than your target.
3. delete the partition.
4. Create the partition. Check very carefully that your new partition is at least as large as you resized to. 5 resize2fs to the partition size. If your partition is smaller than you resized to in step 2, you are in deep do do.

Note.
You cannot move the start point of any partition.
You can join two or more partitions to make one larger partition, but you can only do this and retain the (physically) first of the partitions.


If you have any doubts and care about your data, buy a new disk. If you're working on a laptop, you can fiddle partitions as you copy the data, and if you need to, you can copy Windows with ntfsprogs; one of the programs in the set, ntfsclone does the grunt work, but there are other useful tools in the set.




--

Cheers
John

-- spambait
1aaaaaaa coco merseine nu  Z1aaaaaaa coco merseine nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]