This is what I did for SLES8:

/dev/system/root      132M   92M   41M  70% /
/dev/dasdb1            24M  6.3M   16M  29% /boot
/dev/system/home      3.0G   33M  3.0G   2% /home
/dev/system/opt       384M   97M  288M  26% /opt
/dev/system/usr       2.5G  1.4G  1.1G  56% /usr
/dev/system/var        96M   68M   29M  71% /var

In my case I used 3 disks and then used LVM to manage them but they could
easily be separate devices. The /boot device is an ext2 partition of a
minidisk from which we IPL. Here are the details:

resc064:~ # cat /proc/dasd/devices
0193(ECKD) at ( 94:  0) is dasda      : active at blocksize: 4096, 358200
blocks, 1399 MB
0192(ECKD) at ( 94:  4) is dasdb      : active at blocksize: 4096, 540000
blocks, 2109 MB
0200(ECKD) at ( 94:  8) is dasdc      : active at blocksize: 4096, 900180
blocks, 3516 MB

resc064:~ # cat /proc/partitions
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse
running use aveq
  94     0    1432800 dasda 52030 84659 1094768 1507930 38244 55206 749504
3839970 0 1551870 5348230
  94     1     525312 dasda1 4 0 32 60 0 0 0 0 0 60 60
  94     2     907392 dasda2 52015 84659 1094648 1507830 38244 55206 749504
3839970 0 1551770 5348130
  94     4    2160000 dasdb 57909 116424 1395776 2482200 58496 59273 944016
5217290 0 2022490 7699980
  94     5      24576 dasdb1 93 1287 11040 1460 9 3 96 230 0 1660 1690
  94     6    2135328 dasdb2 57805 115137 1384648 2480720 58487 59270 943920
5217060 0 2021040 7698270
  94     8    3600720 dasdc 51816 84636 1092568 1542280 13571 26656 323752
2566020 0 1108000 4108650
  94     9    3600624 dasdc1 51805 84636 1092480 1542250 13571 26656 323752
2566020 0 1107970 4108620

resc064:~ # pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/dasda2" of VG "system" [880 MB / 0 free]
pvscan -- ACTIVE   PV "/dev/dasdb2" of VG "system" [2.03 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/dasdc1" of VG "system" [3.43 GB / 328 MB free]
pvscan -- total: 3 [6.34 GB] / in use: 3 [6.34 GB] / in no VG: 0 [0]

resc064:~ # vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "system"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

resc064:~ # lvscan
lvscan -- ACTIVE            "/dev/system/root" [132 MB] striped[3]
lvscan -- ACTIVE            "/dev/system/usr" [2.40 GB] striped[3]
lvscan -- ACTIVE            "/dev/system/var" [96 MB]
lvscan -- ACTIVE            "/dev/system/opt" [384 MB]
lvscan -- ACTIVE            "/dev/system/home" [3 GB]
lvscan -- 5 logical volumes with 6 GB total in 1 volume group
lvscan -- 5 active logical volumes

-----Original Message-----
I want to set up a set of disks for a LINUX instance, Say RED HAT and I
think I want to break down the disks like so

0200    IPL DISK (BOOT DISK)
0201    /
0202    /USR
0203    Source file (RPMS)????
0151    SWAP on VDISK

Is there a reference for sizing these Minidisk's and/or am I do more then I
need to and heading down the wrong track?

Reply via email to