SSD

Solid State Disk

Migration

Neue Root-Platte in Debian: http://linuxfoo.de/wp/?p=890

cat /etc/init.d/geraldflash.sh

#!/bin/bash 
# Startscript fuer Server mit Flashdrive
#
   # /var/log subdirectories.
   mkdir -p /var/log/fsck
   mkdir -p /var/log/ksymoops
   mkdir -p /var/log/news
   mkdir -p /var/log/mail
   mkdir -p /var/log/apt
   mkdir -p /var/log/apache2
   mkdir -p /var/log/mysql
   
   # dummy logfiles
   touch /var/log/auth.log
   touch /var/log/messages
   touch /var/log/user.log
   touch /var/log/daemon.log
   touch /var/log/debug
   touch /var/log/dmesg
   touch /var/log/syslog
   touch /var/log/lpr.log
   touch /var/log/kern.log
   touch /var/log/mail.err
   touch /var/log/mail.info
   touch /var/log/mail.log
   touch /var/log/mail.warn

   # /var/tmp
   mkdir -p /var/tmp
   chmod 777 /var/tmp

   # Example for Cups
   if [ -f /usr/sbin/cupsd ] ; then
    mkdir -p /var/log/cups
   fi 

cat /etc/fstab

## /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1       /               ext2    noatime,errors=remount-ro 0       1
#old cf-media: UUID=ab7881fd-229a-420b-a6bb-9ef45a91efee       /               ext2    noatime,errors=remount-ro 0       1
UUID=f825046f-0b8c-430b-9adc-ff2ab892be69 / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1
#/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
tmpfs           /tmp           tmpfs   defaults,noatime                   0 0
tmpfs           /var/lock      tmpfs   defaults,noatime                   0 0
tmpfs           /var/log       tmpfs   defaults,noatime                   0 0
tmpfs           /var/run       tmpfs   defaults,noatime                   0 0
tmpfs           /var/tmp       tmpfs   defaults,noatime                   0 0 
#alt: UUID=36e893a9-1d15-479a-b5d8-48fe96d237a7 /var/Daten	ext3	auto,defaults,async	0	0
#UUID=c6acd2e6-56da-48d8-9b32-dfc3ace89ee8 /var/Daten	ext3	auto,defaults,async	0	0
#UUID=1fa069c4-fe41-4869-ae5c-8ca859f84f92 /var/www/webserver ext3 auto,defaults,async	1	0
UUID=c8cf64dc-15ac-4e1c-88e2-b9007eedb5a5 /var/www/webserver/wiki_stick ext2 auto,defaults,noatime	0	0
/dev/mapper/sda3_crypt	/root/backup	ext3	noauto,defaults			0	0
# for saving tv programm
UUID=15aa15d7-fb5a-46a7-819d-5330464431c2 /var/TV ext3 auto,defaults	0	0
#UUID=f95a6f60-b632-4481-9302-5108e5390851 /var/TV ext3 auto,defaults    0       0
#UUID=f95f6dac-08aa-4e42-be3b-d2534364f913 /var/TV2 ext3 auto,defaults   0	0
UUID=ab7881fd-229a-420b-a6bb-9ef45a91efee       /mnt/cf-media               ext2    noatime,errors=remount-ro 0       1
 
Nach oben
ssd.txt · Zuletzt geändert: 2024/02/29 13:36 von 127.0.0.1
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp