novo disco para o pfsence
nano /etc/fstab
adicionar a linha
newfs /dev/ad1s1
/dev/ad1s1 /mnt/fat ufs rw 0 0
df -h
ver se está tudo ok
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 8.1G 5.0G 2.4G 68% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 3.6M 50K 3.3M 1% /var/run
/dev/ad1s1 36G 6.0K 33G 0% /mnt/fat
criar a pasta squid
mkdir squid
agora vamos passar os logs para o disco novo
Ir a Proxy server: General settings
Log store directory
/mnt/fat/squid
adicionar a linha
newfs /dev/ad1s1
/dev/ad1s1 /mnt/fat ufs rw 0 0
df -h
ver se está tudo ok
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 8.1G 5.0G 2.4G 68% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 3.6M 50K 3.3M 1% /var/run
/dev/ad1s1 36G 6.0K 33G 0% /mnt/fat
criar a pasta squid
mkdir squid
agora vamos passar os logs para o disco novo
Ir a Proxy server: General settings
Log store directory
/mnt/fat/squid
Comentários