* Disks and Partitioning
@ 2000-03-14 5:00 Mohan Vaghul
2000-03-15 5:00 ` Ryan C. Price
0 siblings, 1 reply; 7+ messages in thread
From: Mohan Vaghul @ 2000-03-14 5:00 UTC (permalink / raw)
Hi,
I have two disks (1 GB each) on my Alpha XL 366 one of which contains the
Linux RH 6.1 system on sda5 and swap on sda6 totaling 1GB.
The dos partition is about 3MB and is on sda1 - which is a part of the
second disk. There is close to 1GB available on the sda2 which is currently
not being used.
sda1 - dos
sda2 - extended (not used)
sda5 - linux (contains /)
sda6 - linux (contains swap)
The disk on which my linux system is currently installed is about 99% full.
How can I utilize sda2 to help provide for more space? What programs are
currently available to help me repartition without having to reinstall the
entire system again?
Mohan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-14 5:00 Disks and Partitioning Mohan Vaghul
@ 2000-03-15 5:00 ` Ryan C. Price
2000-03-15 5:00 ` Mohan Vaghul
0 siblings, 1 reply; 7+ messages in thread
From: Ryan C. Price @ 2000-03-15 5:00 UTC (permalink / raw)
Although I'd expect it to be sda4, sda2 sounds like an extended DOS
partition,
which may contain your sda5 and sda6 partitions (i.e. is not available
for use).
(check does sda2 == sizeof(disk) - sizeof(FAT partition)).
your second 1GB disk should be sdb1, sdb2, etc...
/Ryan
"Mohan Vaghul" <mohan.vaghul@gte.net> wrote in message
news:mCwz4.8384$zU2.3787074@paloalto-snr1.gtei.net...
> Hi,
>
> I have two disks (1 GB each) on my Alpha XL 366 one of which
contains the
> Linux RH 6.1 system on sda5 and swap on sda6 totaling 1GB.
>
> The dos partition is about 3MB and is on sda1 - which is a part of
the
> second disk. There is close to 1GB available on the sda2 which is
currently
> not being used.
>
> sda1 - dos
> sda2 - extended (not used)
>
> sda5 - linux (contains /)
> sda6 - linux (contains swap)
>
> The disk on which my linux system is currently installed is about
99% full.
> How can I utilize sda2 to help provide for more space? What programs
are
> currently available to help me repartition without having to
reinstall the
> entire system again?
>
> Mohan
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-15 5:00 ` Ryan C. Price
@ 2000-03-15 5:00 ` Mohan Vaghul
2000-03-15 5:00 ` Mohan Vaghul
0 siblings, 1 reply; 7+ messages in thread
From: Mohan Vaghul @ 2000-03-15 5:00 UTC (permalink / raw)
Ryan,
That's right, sdb is the other 1GB drive - so, how do I format it (from
Alphabios) and use it with the Linux o/s to help out with additional disk
space?
Mohan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-15 5:00 ` Mohan Vaghul
@ 2000-03-15 5:00 ` Mohan Vaghul
2000-03-15 5:00 ` Ryan C. Price
0 siblings, 1 reply; 7+ messages in thread
From: Mohan Vaghul @ 2000-03-15 5:00 UTC (permalink / raw)
It turns out that the second drive is sdb (as was rightly pointed out) and
it is 2GB. How can I use this extra space to complement sda2?
Mohan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-15 5:00 ` Mohan Vaghul
@ 2000-03-15 5:00 ` Ryan C. Price
2000-03-15 5:00 ` Mohan Vaghul
0 siblings, 1 reply; 7+ messages in thread
From: Ryan C. Price @ 2000-03-15 5:00 UTC (permalink / raw)
tell you what, post the output from the following commands,
and then I'm sure you'll get several interesting suggestions:
# fdisk -l /dev/sda
# fdisk -l /dev/sdb
# cat /etc/fstab
# mount
# swapon -s
/Ryan
"Mohan Vaghul" <mohan.vaghul@gte.net> wrote in message
news:6HAz4.8505$zU2.3839299@paloalto-snr1.gtei.net...
>
> It turns out that the second drive is sdb (as was rightly pointed
out) and
> it is 2GB. How can I use this extra space to complement sda2?
>
> Mohan
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-15 5:00 ` Ryan C. Price
@ 2000-03-15 5:00 ` Mohan Vaghul
2000-03-16 5:00 ` Ryan C. Price
0 siblings, 1 reply; 7+ messages in thread
From: Mohan Vaghul @ 2000-03-15 5:00 UTC (permalink / raw)
Here it is:
# cat /etc/fstab
/dev/sda5 / ext2 defaults 1 1
/dev/sda1 /dos vfat defaults 0 0
/dev/sda6 swap swap defaults 0 0
/dev/fd0 /mnt/floppy ext2 owner,noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 owner,noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620
0 0
# fdisk -l /dev/sda
Disk /dev/sda: 64 heads, 32 sectors, 1001 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3 3056 4 FAT16 <32M
/dev/sda2 4 1001 1021952 5 Extended
/dev/sda5 4 936 955376 83 Linux
/dev/sda6 937 1001 66544 82 Linux swap
# fdisk -l /dev/sdb
Disk /dev/sdb: 65 heads, 62 sectors, 1019 cylinders
Units = cylinders of 4030 * 512 bytes
Device Boot Start End Blocks Id System
# mount
/dev/sda5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda1 on /dos type vfat (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
# swapon -s
Filename Type Size Used Priority
/dev/sda6 partition 66536 5008 -1
---------------------------------------
>tell you what, post the output from the following commands,
>and then I'm sure you'll get several interesting suggestions:
>
># fdisk -l /dev/sda
># fdisk -l /dev/sdb
># cat /etc/fstab
># mount
># swapon -s
>
>/Ryan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Disks and Partitioning
2000-03-15 5:00 ` Mohan Vaghul
@ 2000-03-16 5:00 ` Ryan C. Price
0 siblings, 0 replies; 7+ messages in thread
From: Ryan C. Price @ 2000-03-16 5:00 UTC (permalink / raw)
My 2c:
Firstly, sda2 is indeed your extended partition, within which lives
sda5 and sda6, so you can't use it.
Secondly, not so important, but it's probably better to mount
your FAT partition as msdos, not vfat. It'll save you accidently
writing a filename that your ARC doesn't understand (ARC
doesn't do long filenames).
Next, I would probably just use fdisk to create one large partition
sdb1, mke2fs and then mount it as /usr (after copying your
current /usr, of course).
The rest, I'd just leave.
Of course, many people have strong views about where all the
root directories should go, but I'm all for keeping it simple for a
private, home use system.
/Ryan
> # cat /etc/fstab
>
> /dev/sda5 / ext2 defaults
1 1
> /dev/sda1 /dos vfat defaults
0 0
> /dev/sda6 swap swap defaults
0 0
> # fdisk -l /dev/sda
> /dev/sda1 * 1 3 3056 4 FAT16 <32M
> /dev/sda2 4 1001 1021952 5 Extended
> /dev/sda5 4 936 955376 83 Linux
> /dev/sda6 937 1001 66544 82 Linux swap
>
> # mount
> /dev/sda5 on / type ext2 (rw)
> /dev/sda1 on /dos type vfat (rw)
>
> # swapon -s
> /dev/sda6 partition 66536 5008 -1
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-03-16 5:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-14 5:00 Disks and Partitioning Mohan Vaghul
2000-03-15 5:00 ` Ryan C. Price
2000-03-15 5:00 ` Mohan Vaghul
2000-03-15 5:00 ` Mohan Vaghul
2000-03-15 5:00 ` Ryan C. Price
2000-03-15 5:00 ` Mohan Vaghul
2000-03-16 5:00 ` Ryan C. Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox