reynierpm at gmail.com
2015-Sep-11 19:18 UTC
[CentOS] Cannot open: No space left on device
On Fri, Sep 11, 2015 at 2:45 PM, Warren Young <wyml at etr-usa.com> wrote:> 24 - 16 = 8, which sounds suspiciously like the size of a swap file. What > does mount say?What do you mean with "mount says"? Can you point me on the right command to execute?
Il giorno ven, 11/09/2015 alle 14.48 -0430, reynierpm at gmail.com ha scritto:> What do you mean with "mount says"? Can you point me on the right > command to execute?Run this command :> [root at centos7 ~]# du -sc /* /.??* --exclude /proc|sort -n > 0 /.autorelabel > 0 /bin > 0 /dev > 0 /lib > 0 /lib64 > 0 /media > 0 /mnt > 0 /sbin > 0 /srv > 0 /sys > 52 /root > 72 /tmp > 6752 /run > 22772 /etc > 128940 /boot > 144252 /home > 150000 /var > 760748 /opt > 1432444 /usr > 2646032 totale > [root at centos7 ~]# lsblk /dev/vda > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > vda 252:0 0 9,8G 0 disk > ??vda1 252:1 0 500M 0 part /boot > ??vda2 252:2 0 9,3G 0 part > ??centos-root 253:0 0 4,4G 0 lvm / > ??centos-swap 253:1 0 1000M 0 lvm [SWAP] > ??centos-var 253:2 0 2,2G 0 lvm /var > ??centos-opt 253:3 0 1,8G 0 lvm /optand post the result. -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
reynierpm at gmail.com
2015-Sep-11 19:56 UTC
[CentOS] Cannot open: No space left on device
On Fri, Sep 11, 2015 at 3:19 PM, Dario Lesca <d.lesca at solinos.it> wrote:> the result.# du -sc /* /.??* --exclude /proc|sort -n 0 /.autofsck 0 /.autorelabel 0 /misc 0 /net 0 /sys 4 /cgroup 4 /media 4 /mnt 4 /selinux 4 /srv 8 /opt 16 /home 16 /lost+found 16 /tmp 112 /root 188 /dev 7956 /bin 14624 /sbin 27088 /lib64 31636 /etc 78796 /boot 284672 /lib 1882548 /usr 14422860 /var 16750556 total lsblk /dev/sda NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 30G 0 disk ??sda1 8:1 0 500M 0 part /boot ??sda2 8:2 0 29.5G 0 part ??vg_server-lv_root (dm-0) 253:0 0 26.5G 0 lvm / ??vg_server-lv_swap (dm-1) 253:1 0 3G 0 lvm [SWAP]
On Sep 11, 2015, at 1:18 PM, reynierpm at gmail.com wrote:> > On Fri, Sep 11, 2015 at 2:45 PM, Warren Young <wyml at etr-usa.com> wrote: > >> 24 - 16 = 8, which sounds suspiciously like the size of a swap file. What >> does mount say? > > What do you mean with "mount says??I mean run the ?mount? command. Its output is what the program ?says.? But never mind now, since you found the actual problem.
On Sep 11, 2015, at 3:32 PM, Warren Young <wyml at etr-usa.com> wrote:> > I mean run the ?mount? command. Its output is what the program ?says.? > > But never mind now, since you found the actual problem.Ah, bogus command anyway. I thought swap space showed up in the mount table, but it doesn?t. swapon -s is a better command for showing what I wanted to know.