Update schlägt Fehl da var/etc voll (tmpfs) wie vergrößern?

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
blubbz
Beiträge: 28
Registriert: 30.11.2011 19:27:18

Update schlägt Fehl da var/etc voll (tmpfs) wie vergrößern?

Beitrag von blubbz » 29.03.2014 00:52:44

Code: Alles auswählen

 failed to extend `/var/tmp/mkinitramfs_qgYys0//bin/kmod': No space left on d                                                                                                                                                             evice

Code: Alles auswählen

Filesystem                    1K-blocks    Used Available Use% Mounted on
rootfs                         39321016 2330756  34992848   7% /
udev                              10240       0     10240   0% /dev
tmpfs                            103408     220    103188   1% /run
/dev/mapper/xxxxxxx-root  39321016 2330756  34992848   7% /
tmpfs                              5120       0      5120   0% /run/lock
tmpfs                            206800       0    206800   0% /run/shm
/dev/vda1                        233191   33508    187242  16% /boot
tmpfs                            102400      12    102388   1% /tmp
tmpfs                             20480   20480         0 100% /var/tmp
tmpfs                             71680   26764     44916  38% /var/log
tmpfs                            153600   76452     77148  50% /var/cache/apt/archives
wie kann ich var/tmp vergrößern? :( bzw wie kann ich tmpfs deaktivieren? bzw rückgängig machen ... weiss garnichtmehr wie das gekommen ist. ist ja eigentlich unnütz da die platte groß genug ist.

einfach unmounten? ...

danke für die hilfe
Zuletzt geändert von Cae am 29.03.2014 01:05:22, insgesamt 1-mal geändert.
Grund: [code] erhaelt spaces...

Cae
Beiträge: 6349
Registriert: 17.07.2011 23:36:39
Wohnort: 2130706433

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von Cae » 29.03.2014 01:07:53

Ja, umounten und am Besten vorher das Zeug darin wegsichern (sonst ist es weg, und zwar richtig weg). Falls du den Kram nicht manuell in die fstab geschrieben hast, koennte man vermutlich in /etc/default/tmpfs entsprechende Anpassungen vornehmen.

Gruss Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.

—Bruce Schneier

blubbz
Beiträge: 28
Registriert: 30.11.2011 19:27:18

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von blubbz » 29.03.2014 01:13:49

nach dem unmounten kann ich aber immer noch kein Dist-Upgrade durchführen.

Code: Alles auswählen

mount: proc already mounted on /proc
mount: UUID=already mounted on /boot
mount: tmpfs already mounted on /tmp
mount: tmpfs already mounted on /var/log
mount: tmpfs already mounted on /var/cache/apt/archives
tmpfs on /var/tmp type tmpfs (rw,size=20M)
umount /var/tmp

scheint nicht zu funktionieren

etc/fstab auskommentieren und dann mount - a sieht dann so aus
mount: proc already mounted on /proc
mount: xxxxxxxxxx already mounted on /boot
mount: tmpfs already mounted on /tmp
mount: tmpfs already mounted on /var/log
mount: tmpfs already mounted on /var/cache/apt/archives
nothing was mounted
dist-upgrade

Code: Alles auswählen

cp: failed to extend `/var/tmp/mkinitramfs_szYW04/lib/klibc-_p1fb7QsHmNN-bA0jN63AqBDMvM.so': No space left on device
cp: writing `/var/tmp/mkinitramfs_szYW04//bin/kmod': No space left on device
cp: failed to extend `/var/tmp/mkinitramfs_szYW04//bin/kmod': No space left on device
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.

usw

# Configuration for tmpfs filesystems mounted in early boot, before
# filesystems from /etc/fstab are mounted. For information about
# these variables see the tmpfs(5) manual page.

# /run is always mounted as a tmpfs on systems which support tmpfs
# mounts.

# mount /run/lock as a tmpfs (separately from /run). Defaults to yes;
# set to no to disable (/run/lock will then be part of the /run tmpfs,
# if available).
#RAMLOCK=yes

# mount /run/shm as a tmpfs (separately from /run). Defaults to yes;
# set to no to disable (/run/shm will then be part of the /run tmpfs,
# if available).
#RAMSHM=yes

# mount /tmp as a tmpfs. Defaults to no; set to yes to enable (/tmp
# will be part of the root filesystem if disabled). /tmp may also be
# configured to be a separate mount in /etc/fstab.
#RAMTMP=no

# Size limits. Please see tmpfs(5) for details on how to configure
# tmpfs size limits.
#TMPFS_SIZE=20%VM
#RUN_SIZE=10%
#LOCK_SIZE=5242880 # 5MiB
#SHM_SIZE=
#TMP_SIZE=

# Mount tmpfs on /tmp if there is less than the limit size (in kiB) on
# the root filesystem (overriding RAMTMP).
#TMP_OVERFLOW_LIMIT=1024
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/ixxxxxxx-root / ext3 errors=remount-ro 0 1
# /boot was on /dev/vda1 during installation
UUID=xxxxxxxxxxxxxxxx /boot ext2 defaults 0 2
/dev/mapper/xxxx-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
tmpfs /tmp tmpfs size=100M 0 0
#tmpfs /var/tmp tmpfs size=20M 0 0
tmpfs /var/log tmpfs size=70M 0 0
tmpfs /var/cache/apt/archives tmpfs size=150M 0 0

Filesystem Size Used Avail Use% Mounted on
rootfs 38G 2.3G 34G 7% /
udev 10M 0 10M 0% /dev
tmpfs 101M 220K 101M 1% /run
/dev/mapper/xxxxxx-root 38G 2.3G 34G 7% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 202M 0 202M 0% /run/shm
/dev/vda1 228M 33M 183M 16% /boot
tmpfs 100M 12K 100M 1% /tmp
tmpfs 70M 25M 46M 36% /var/log
tmpfs 150M 75M 76M 50% /var/cache/apt/archives
tmpfs 20M 20M 0 100% /var/tmp
hmmm :(

Benutzeravatar
Taomon
Beiträge: 627
Registriert: 08.03.2011 16:34:38
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von Taomon » 01.04.2014 21:30:44

Hallo blubbz,

Code: Alles auswählen

cat /etc/fstab
Ich kann mir grade nicht so richtig vorstellen wie die aussieht.
Hast Du einen Reboot gemacht?

Gruß Taomon
Bitte gelegentliche Schreibfehler übersehen. Ich habe ADHS. Danke.

Cae
Beiträge: 6349
Registriert: 17.07.2011 23:36:39
Wohnort: 2130706433

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von Cae » 02.04.2014 02:10:34

Taomon hat geschrieben:Hast Du einen Reboot gemacht?
Wovon ich abraten wuerde, da die initrd des TEs gerade moeglicherweise kaputt ist. Die fstab steht uebrigens im Beitrag darueber und enthaelt auch die (mittlerweile auskommentierte) Ursache des Uebels.
blubbz hat geschrieben:scheint nicht zu funktionieren
Will heissen? Poste den kompletten Befehl, Eingabe, Ausgabe, Rueckgabewert ("echo $?" direkt danach) und bei Mount-Geschichten noch die letzten paar dmesg-Zeilen, sofern relevant. Und am Besten das Ganze noch als [code] formatiert, denn die [quote]s oben sind beschissen zu lesen (df waere eigentlich 'ne Tabelle)...

Gruss Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.

—Bruce Schneier

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von KBDCALLS » 02.04.2014 12:56:18

blubbz hat geschrieben:nach dem unmounten kann ich aber immer noch kein Dist-Upgrade durchführen.

Code: Alles auswählen

mount: tmpfs already mounted on /var/cache/apt/archives
Irgendwie kommt mir das suspekt vor.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

pferdefreund
Beiträge: 3800
Registriert: 26.02.2009 14:35:56

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von pferdefreund » 02.04.2014 13:42:42

Mir auch - da ist doch was generell im Argen. Wurde da gefrickelt um die Zugriffe auch eine SSD zu reduzieren ? Sieht für mich fast so aus.

blubbz
Beiträge: 28
Registriert: 30.11.2011 19:27:18

Re: Update schlägt Fehl da var/etc voll (tmpfs) wie vergröße

Beitrag von blubbz » 13.04.2014 11:26:05

pferdefreund hat geschrieben:Mir auch - da ist doch was generell im Argen. Wurde da gefrickelt um die Zugriffe auch eine SSD zu reduzieren ? Sieht für mich fast so aus.

gibt gar keine SSD ... ;) wird wohl irgendein script früher gewesen sein


muss ja nur tmpfs irgendwie rückgängig machen ... hmmm nur wie?


glaube das script früher hieß "tmp²ram" ... und wurde testweise mal installiert.


Edit: ah ok das konnte ich deinstallieren

Code: Alles auswählen

Filesystem                     Size  Used Avail Use% Mounted on
rootfs                          38G  2.3G   34G   7% /
udev                            10M     0   10M   0% /dev
tmpfs                          101M  228K  101M   1% /run
/dev/mapper/ixxxx-root   38G  2.3G   34G   7% /
tmpfs                          5.0M     0  5.0M   0% /run/lock
tmpfs                          202M     0  202M   0% /run/shm
/dev/vda1                      228M   33M  183M  16% /boot
none                            70M   34M   37M  48% /var/log
nun siehts ja wieder normal aus

Code: Alles auswählen

Distributor ID: Debian
Description:    Debian GNU/Linux 7.4 (wheezy)
Release:        7.4
Codename:       wheezy
update ging auch durch.gut

Antworten