|
From: <no...@so...> - 2002-02-22 17:15:43
|
Bugs item #520267, was opened at 2002-02-19 17:25 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=410643&aid=520267&group_id=34096 Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Heiko Zuerker (smiley73) Assigned to: Nobody/Anonymous (nobody) Summary: include harddisk support in doc Initial Comment: From: Friedrich Lobenstock <fl...@fl...> To: Devil-Linux-Developer Mailing Liste <dev...@li...> Reply-To: Devil-Linux-Developer Mailing Liste <dev...@li...> Subject: [Devil-linux-develop] HOWTO harddisk support Date: Wed, 20 Feb 2002 02:12:39 +0100 Sender: dev...@li... X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-4GB i586) HOWTO harddisk support: 1) create _one_ partition on the harddisk you want to use The result ("fdisk -l") should look like this: Disk /dev/hdc: 16 heads, 63 sectors, 8126 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Start End Blocks Id System /dev/hdc1 1 8126 4095472+ 8e Linux LVM 2) create a physical volume (PV) from the partiton create in step 1.: # pvcreate /dev/hdc1 3) create a volume group (VG) named "devil-linux" using the PV /dev/hdc1 # vgcreate -s 8M devil-linux /dev/hdc1 (increase the PhysicalExtentSize of 8M to make use of more than 512GB) 4) now we are going to create the "partitions" (=logical volumes) each is optional, so just create the ones you need * swap: lvcreate -C y -L 256M -n swap devil-linux mkswap /dev/devil-linux/swap * log (/var/log): lvcreate -L 512M -n log devil-linux mkreiserfs -v 2 /dev/devil-linux/log * spool (/var/spool): lvcreate -L 512M -n spool devil-linux mkreiserfs -v 2 /dev/devil-linux/spool * squid (/var/squid): lvcreate -L 512M -n squid devil-linux mkreiserfs -v 2 /dev/devil-linux/squid 5) save your configuration (so you have a least one lvm backupfile) # save-config Now reboot to test if all logical volumes get mounted correctly. Comments welcome. PS: Because of a mismatch in the sysvinit system no filesystems get currently unmounted on reboot. So take care for now. -- MfG / Regards Friedrich Lobenstock _______________________________________________ Devil-linux-develop mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop ---------------------------------------------------------------------- >Comment By: Friedrich Lobenstock (friedl) Date: 2002-02-22 09:15 Message: Logged In: YES user_id=38090 Small typo in my last followup The "-C y" makes the lv swap contiguous, _NOT_ really needed I guess. ---------------------------------------------------------------------- Comment By: Friedrich Lobenstock (friedl) Date: 2002-02-22 09:14 Message: Logged In: YES user_id=38090 add 4) * tmp (/var/tmp): lvcreate -L 512M -n tmp devil-linux mkreiserfs -v 2 /dev/devil-linux/tmp Change the size of the lv's according to your needs. The "-C y" makes the lv swap contiguous, really needed I guess. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=410643&aid=520267&group_id=34096 |