Hi, when i reinstalled my proxmox to get it working. I followed someones command that gave the disk around 10 GB only.. today when i got home, i got loads of errors due to that disk was full.
i Ran apt-get clean and i got around 120MB more free:d (still like 98% full)..
What i was thinking.. to move /usr into one of the storage nodes that has terabytes of disk space..
How would i go about to do this the best and simplest way?
Additional information that might be usefull(?)
i Ran apt-get clean and i got around 120MB more free:d (still like 98% full)..
Code:
/dev/fuse 30M 16K 30M 1% /etc/pveroot@Caelus:/# du -ax --max-depth=3 / | sort -n | awk '{if($1 > 102400) print $1/1024 "MB" " " $2 }'
106.926MB /lib/modules/2.6.32-32-pve
106.93MB /lib/modules
125.445MB /usr/bin
132.203MB /var
165.723MB /lib
218.043MB /usr/lib
253.891MB /usr/share
664.152MB /usr
981.985MB /
How would i go about to do this the best and simplest way?
Additional information that might be usefull(?)
Code:
root@Caelus:/# df -hFilesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 1.6G 552K 1.6G 1% /run
/dev/mapper/pve-root 9.9G 9.2G 192M 98% /
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.2G 28M 3.1G 1% /run/shm
/dev/mapper/pve-data 67G 8.3G 59G 13% /var/lib/vz
/dev/sda2 494M 36M 433M 8% /boot
/dev/md0 7.3T 560G 6.7T 8% /storage
tmpfs 7.2G 0 7.2G 0% /tmp
/dev/fuse 30M 16K 30M 1% /etc/pve
Code:
root@Caelus:/# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=2035237,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1630212k,mode=755)
/dev/mapper/pve-root on / type ext4 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=3260400k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/pve-data on /var/lib/vz type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sda2 on /boot type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/md0 on /storage type ext4 (rw,relatime,barrier=0,stripe=512,data=ordered)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=7454720k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
beancounter on /proc/vz/beancounter type cgroup (rw,relatime,blkio,name=beancounter)
container on /proc/vz/container type cgroup (rw,relatime,freezer,devices,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,relatime,cpuacct,cpu,cpuset,name=fairsched)