On Sun, 21 Jun 1998, Benji Spencer wrote:
> partitions on /dev/hdb
>
> /dev/hdb1 300 meg (full) /var/spool/news
> /dev/hdb2 300 meg (unused)
> /dev/hdb3 100 meg (unused)
> /dev/hdb4 200 meg (used) /usr
> /dev/hdb5 200 meg (used) /var
>
> can I join hdb1, hdb2, and hdb3, creating a 700 meg partition, without
> destroying hdb4 and hdb5?
That partition layout is an impossibility, so you haven't given us the
actual (correct) information. You may have an extended partition in the
mix which can easily mix up the situation.
> I realize that I would loose the info on hdb1 in doing that, but that is
> ok. I just dont' want to loose the info on hdb4 and hdb5
You wouldn't. You only lose data on a partition if you erase that
specific partition. But you can only join partitions if they are adjacent
physically on the disk. It is possible to have this happen in your
layout:
| hda1 | hda3 | hda4 | hda2 |
In that case, you would not be able to join hda2 and hda3 because they are
not adjacent, even though they have sequential numbers. But you could
join hda1 and hda3 or hda2 and hda4 because they would be physically
adjacent. In other words the partition numbers don't make any difference,
they are just indexes.
If you have an extended partition, it works like a little miniature hard
disk with its own partition table. You can't join partitions going into
or out of the extended partition.
| hda1 | hda2 (extended) | hda3 | hda4 |
| hda5 | hda6 | hda7 |
Now, you could join hda3 and hda4, or hda5 and hda6, or hda6 and hda7.
But you couldn't join hda5 and hda7 (because they don't touch) or hda7 and
hda3 (because you can't cross the extended-partition boundary) or hda1 and
anything (for the same reason), unless you wanted to erase all the
partitions in hda2.
Actually, you could probably force hda7 and hda3 to be one partition, but
you would have to sacrifice a goat to make it work.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.