* [gentoo-user] partition scheme
@ 2006-10-17 6:54 Thufir
2006-10-17 10:15 ` Alan McKinnon
2006-10-17 21:40 ` David Grant
0 siblings, 2 replies; 3+ messages in thread
From: Thufir @ 2006-10-17 6:54 UTC (permalink / raw
To: gentoo-user
For hdb, what's a good partitioning scheme? I want to go with reiser, and
keep the vfat (for win2k). I have 512MB RAM, should I change the swap
size? Is there a big advantage to using LVM versus just a regular root
partition?
I figure I'll use hda just for storage of stuff prior to burning to disc.
For a little while, I'll have a triple boot system.
[root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]# parted
GNU Parted 1.7.1
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
Disk /dev/hda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 80.0GB 79.9GB primary lvm
Disk /dev/hdb: 30.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 11.7GB 11.7GB primary fat32 boot, lba
2 11.7GB 11.8GB 107MB primary ext2
3 11.8GB 12.3GB 452MB primary linux-swap
4 12.3GB 30.7GB 18.4GB primary ext3
Error: Unable to open /dev/md0 - unrecognised disk label.
Warning: Unable to open /dev/fd0 read-write (Read-only file system). /dev/fd0 has
been opened read-only.
Error: Unable to open /dev/fd0 - unrecognised disk label.
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.
[root@arrakis ~]#
[root@arrakis ~]# date
Tue Oct 17 07:37:56 IST 2006
[root@arrakis ~]#
[root@arrakis ~]#
thanks,
Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] partition scheme
2006-10-17 6:54 [gentoo-user] partition scheme Thufir
@ 2006-10-17 10:15 ` Alan McKinnon
2006-10-17 21:40 ` David Grant
1 sibling, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2006-10-17 10:15 UTC (permalink / raw
To: gentoo-user
On Tuesday 17 October 2006 08:54, Thufir wrote:
> For hdb, what's a good partitioning scheme? I want to go with
> reiser, and keep the vfat (for win2k). I have 512MB RAM, should I
> change the swap size? Is there a big advantage to using LVM versus
> just a regular root partition?
Hi,
This is one of those questions that we can't really answer, as the
correct answer is "it depends".
What do you want to do with this machine, what role does it have in
life? If you ask me how would I partition a workstation, a busy mail
server and a company file server, I'd give you three completely
different answers....
I take it this is a workstation though (512M ram....). For those it
think it's a good idea to keep /home on a separate partition so it can
easily be shared between distros. If you have several users who all
need to get at the same shared data (like an mp3 collection) then
putting that on a separate partition is also convenient.
As for lvm - it is amazingly useful, and it's real use if often
misunderstood: it lets you manipulate partitions and move them around.
This is amazingly difficult without lvm and usually involves extra
drives and moving many GB out of the way to make space. So lvm gives
you no benefit in normal use, but the first time you need to shrink /
to make a separate /home on a disk with no unpartitioned space, you'll
thanks your lucky stars you used lvm :-)
That swap size (452M) is ok for normal use. If you find that the machine
is using lots of that swap in daily use, then you'll have to increase
it. And if you need suspend/resume, then you'll need to increase that
partition to at least the size of your ram. Actually, make it 1G
minimum - ram upgrades are easy, and there's a good chacne you'll do it
anyway in the future.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] partition scheme
2006-10-17 6:54 [gentoo-user] partition scheme Thufir
2006-10-17 10:15 ` Alan McKinnon
@ 2006-10-17 21:40 ` David Grant
1 sibling, 0 replies; 3+ messages in thread
From: David Grant @ 2006-10-17 21:40 UTC (permalink / raw
To: gentoo-user
I'd like to share mine with the world:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4904 39391348+ 7 HPFS/NTFS
/dev/sda2 4905 4917 104422+ 83 Linux
/dev/sda3 4918 5161 1959930 82 Linux swap / Solaris
/dev/sda4 5162 30401 202740300 5 Extended
/dev/sda5 5162 10025 39070079+ 83 Linux
/dev/sda6 10026 14889 39070079+ 8e Linux LVM
/dev/sda7 14890 19753 39070079+ 8e Linux LVM
/dev/sda8 19754 24617 39070079+ 8e Linux LVM
/dev/sda9 24618 29481 39070079+ 83 Linux
/dev/sda10 29482 30401 7389899+ 83 Linux
# df
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 38G 258M 38G 1% /
udev 442M 184K 442M 1% /dev
/dev/sda2 99M 15M 79M 16% /boot
/dev/mapper/vg-opt 30G 3.2G 27G 11% /opt
/dev/mapper/vg-usr 20G 7.7G 13G 39% /usr
/dev/mapper/vg-home 20G 5.5G 15G 28% /home
/dev/mapper/vg-var 20G 12G 8.6G 58% /var
/dev/mapper/vg-tmp 10G 356M 9.7G 4% /tmp
shm 442M 0 442M 0% /dev/shm
sda6-sda10 are all separate partitions so that I have the flexibility
to throw them into the LVM if I want or use them for something else
later.
Dave
On 10/16/06, Thufir <hawat.thufir@gmail.com> wrote:
> For hdb, what's a good partitioning scheme? I want to go with reiser, and
> keep the vfat (for win2k). I have 512MB RAM, should I change the swap
> size? Is there a big advantage to using LVM versus just a regular root
> partition?
>
> I figure I'll use hda just for storage of stuff prior to burning to disc.
> For a little while, I'll have a triple boot system.
>
>
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]# parted
> GNU Parted 1.7.1
> Using /dev/hda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) print all
>
> Disk /dev/hda: 80.0GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number Start End Size Type File system Flags
> 1 32.3kB 107MB 107MB primary ext3 boot
> 2 107MB 80.0GB 79.9GB primary lvm
>
>
>
> Disk /dev/hdb: 30.8GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number Start End Size Type File system Flags
> 1 32.3kB 11.7GB 11.7GB primary fat32 boot, lba
> 2 11.7GB 11.8GB 107MB primary ext2
> 3 11.8GB 12.3GB 452MB primary linux-swap
> 4 12.3GB 30.7GB 18.4GB primary ext3
>
>
> Error: Unable to open /dev/md0 - unrecognised disk label.
>
> Warning: Unable to open /dev/fd0 read-write (Read-only file system). /dev/fd0 has
> been opened read-only.
> Error: Unable to open /dev/fd0 - unrecognised disk label.
>
> (parted) quit
> Information: Don't forget to update /etc/fstab, if necessary.
>
> [root@arrakis ~]#
> [root@arrakis ~]# date
> Tue Oct 17 07:37:56 IST 2006
> [root@arrakis ~]#
> [root@arrakis ~]#
>
>
>
> thanks,
>
> Thufir
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
David Grant
http://www.davidgrant.ca
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-17 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 6:54 [gentoo-user] partition scheme Thufir
2006-10-17 10:15 ` Alan McKinnon
2006-10-17 21:40 ` David Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox