Dnia 2009-11-21, o godz. 19:17:36 Eric Shubert <e...@shubes.net> napisał(a):
> David Milholen wrote: > > Hi All, > > [...] > > here is the output of the df command > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/sdb1 240362656 16316904 211835952 8% / > > /dev/sda1 101086 11843 84024 13% /boot > > none 2047316 0 2047316 0% /dev/shm > > > > Any suggestions on this would be great.. > > TM > > Dave > > > > [...] > For QMT, I think I'd > use: / - 8G > /tmp - 1G > /var - 2G > swap - 1-2 times RAM > /home - whatever's left > > That should get you started. Holler as you have questions, and we'll > do what we can to help out. > > Oh, and please take notes. You might want to write a how-to for the > wiki when you're done. ;) > 1 GiB for /tmp and 2 GiB for /tmp is to too little, multiply it by 10. :) There is configuration from one of my servers, 2 SATA disks: 8<-- [r...@srv ~]# fdisk -l /dev/sda Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 25 200781 fd Linux raid autodetect /dev/sda2 26 60801 488183220 fd Linux raid autodetect [r...@srv ~]# df -v System plików bl. 1K B użyte dostępne %uż. zamont. na /dev/mapper/VolGroup00-LogVol00 15236080 9083884 5365764 63% / /dev/mapper/VolGroup00-LogVol01 20642428 8589880 11003972 44% /var /dev/mapper/VolGroup00-LogVol03 10321208 186784 9610136 2% /tmp /dev/mapper/VolGroup00-LogVol05 206424760 142058292 53880708 73% /samba /dev/mapper/VolGroup00-LogVol06 122337340 11556244 104566648 10% /samba1 /dev/md0 194366 38522 145809 21% /boot /dev/mapper/VolGroup00-LogVol04 103212320 41169756 56799684 43% /home tmpfs 1025420 0 1025420 0% /dev/shm [r...@srv ~]# pvscan -s /dev/md1 Total: 1 [465,56 GB] / in use: 1 [465,56 GB] / in no VG: 0 [0 ] [r...@srv ~]# lvscan ACTIVE '/dev/VolGroup00/LogVol00' [15,00 GB] inherit ACTIVE '/dev/VolGroup00/LogVol05' [200,00 GB] inherit ACTIVE '/dev/VolGroup00/LogVol04' [100,00 GB] inherit ACTIVE '/dev/VolGroup00/LogVol03' [10,00 GB] inherit ACTIVE '/dev/VolGroup00/LogVol06' [118,53 GB] inherit ACTIVE '/dev/VolGroup00/LogVol01' [20,00 GB] inherit ACTIVE '/dev/VolGroup00/LogVol02' [2,00 GB] inherit <-- swap 8<-- EOT In filesystem /tmp sometimes there are big files, once a week logwatch analyzes logs, big files if you have strong firewall rules. 5 GiB for tmp is the safe minimum. In /var filesystem are mysql databases, all logs, standard http serwer, ftp and many, many others. On my server I listed above /var/www is symbolic link to /home/www. IMO to migrate you have to reinstall OS. Backup separately /home, /var, /etc, /usr/local/bin and maybe something from /usr/share (i.e. squirrelmail). If you have linux with selinux use star, not tar. You can do backup to another linux machine using ssh and star. You can use tape backup or to DVD. Remember before backup files to down all services that writes to /var (i.e. mysql, qmail and so on). -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com