write failed, filesystem is full

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2753
    Anonymous
    Inactive

    Firefly Media Server: Version svn-1586
    FreeBSD freenas 6.4-RELEASE-p3 i386

    Hello,
    I have a small problem. I can build the sons3.db database but when I try to restart mt-daapd it dies trying to open the database /: write failed, filesystem is full, Query: vacuum, Error: disk I/O error.
    Would you know what file it is trying to write to / ? I tried with both /tmp and /var as a separate partition but I still get : write failed, filesystem is full
    Thanks in advance,
    Michel.

    its on /mnt/Hitachi250

    freenas:~# ls -alh /mnt/Hitachi250
    total 14204
    drwxrwxrwx 6 root wheel 512B Mar 3 11:03 .
    drwxrwxrwx 5 root wheel 512B Mar 2 22:42 ..
    drwxr-xr-x 30 root wheel 512B Nov 6 06:22 Music
    -rw-r–r– 1 root wheel 14M Mar 3 11:03 songs3.db

    freenas:~# cat /var/etc/mt-daapd.conf
    [general]
    servername = freenas
    web_root = /usr/local/share/mt-daapd/admin-root
    port = 3689
    logfile = /var/log/mt-daapd.log
    runas = root
    admin_pw = atglab
    password =
    truncate = 0
    mp3_dir = /mnt/Hitachi250/Music/
    extensions = .mp3,.m4a,.m4p,.ogg,.flac,.wma
    playlist = /usr/local/share/mt-daapd/mt-daapd.playlist
    db_type = sqlite3
    db_parms = /mnt/Hitachi250/
    scan_type = 0
    rescan_interval = 0
    always_scan = 0
    [plugins]
    plugin_dir = /usr/local/share/mt-daapd/plugins
    [scanning]
    case_sensitive = 1
    ignore_appledouble = 1
    ignore_dotfiles = 1
    concat_compilations = 0
    follow_symlinks = 1
    skip_first = 0
    process_playlists = 1
    process_m3u = 1
    process_itunes = 1
    [daap]
    correct_order = 1

    freenas:~# /usr/local/sbin/mt-daapd -fd9 -c /var/etc/mt-daapd.conf
    Got general/servername, convert to general/servername (freenas)
    Found existing section
    Got general/web_root, convert to general/web_root (/usr/local/share/mt-daapd/admin-root)
    Found existing section
    Got general/port, convert to general/port (3689)
    Found existing section
    Got general/logfile, convert to general/logfile (/var/log/mt-daapd.log)
    Found existing section
    Got general/runas, convert to general/runas (root)
    Found existing section
    Got general/admin_pw, convert to general/admin_pw (gatgas)
    Found existing section
    Got general/password, convert to general/password ()
    Found existing section
    Got general/truncate, convert to general/truncate (0)
    Found existing section
    Got general/mp3_dir, convert to general/mp3_dir (/mnt/Hitachi250/Music/)
    Found existing section
    Found 1 tokens in /mnt/Hitachi250/Music/
    Token 1: /mnt/Hitachi250/Music/
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p,.ogg,.flac,.wma)
    Found existing section
    Got general/playlist, convert to general/playlist (/usr/local/share/mt-daapd/mt-daapd.playlist)
    Found existing section
    Got general/db_type, convert to general/db_type (sqlite3)
    Found existing section
    Got general/db_parms, convert to general/db_parms (/mnt/Hitachi250/)
    Found existing section
    Got general/scan_type, convert to general/scan_type (0)
    Found existing section
    Got general/rescan_interval, convert to general/rescan_interval (0)
    Found existing section
    Got general/always_scan, convert to general/always_scan (0)
    Found existing section
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/local/share/mt-daapd/plugins)
    Found existing section
    Got scanning/case_sensitive, convert to scanning/case_sensitive (1)
    Found existing section
    Got scanning/ignore_appledouble, convert to scanning/ignore_appledouble (1)
    Found existing section
    Got scanning/ignore_dotfiles, convert to scanning/ignore_dotfiles (1)
    Found existing section
    Got scanning/concat_compilations, convert to scanning/concat_compilations (0)
    Found existing section
    Got scanning/follow_symlinks, convert to scanning/follow_symlinks (1)
    Found existing section
    Got scanning/skip_first, convert to scanning/skip_first (0)
    Found existing section
    Got scanning/process_playlists, convert to scanning/process_playlists (1)
    Found existing section
    Got scanning/process_m3u, convert to scanning/process_m3u (1)
    Found existing section
    Got scanning/process_itunes, convert to scanning/process_itunes (1)
    Found existing section
    Got daap/correct_order, convert to daap/correct_order (1)
    Found existing section
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /mnt/Hitachi250/
    Checking existence of /mnt/Hitachi250/
    Checking existence of /usr/local/share/mt-daapd/plugins
    Checking existence of /usr/local/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/out-daap.so (daap/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so (ssc-ffmpeg/svn-1586)
    New transcode codec list: flac,alac,ogg,wma
    Plugin loaded: ssc-ffmpeg/svn-1586
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    Starting signal handler
    Opening database
    Executing: select value from config where term=’version’
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    select(8, 0.000976)
    select(8, 0.244140)
    select(8, 0.100585)
    select(8, 0.099609)
    select(8, 0.099609)
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    select(8, 0.148437)
    select(8, 0.100585)
    select(8, 0.100585)
    select(8, 0.148437)
    select(8, 0.100585)
    select(8, 0.100585)
    select(8, 0.148437)
    select(8, 0.000976)
    select(8, 0.100585)
    select(8, 0.898437)
    select(8, 0.100585)
    select(8, 0.100585)
    select(8, 1.898437)
    select(8, 0.099609)
    select(8, 0.099609)
    select(8, 3.898437)
    select(8, 0.100585)
    select(8, 0.099609)
    select(8, 5.000000)

    /: write failed, filesystem is full
    Query: vacuum
    Error: disk I/O error
    Aborting
    freenas:~# Processing rendezvous message
    Rendezvous socket closed (daap server crashed?) Aborting.
    Aborting

    #18037
    fizze
    Participant

    Well it tries to write into songs3.db of course.
    It seems that the permissions are ok, so do a quick “df -h” to see how much space is left wherever your songs3.db is located.

    Still, I wouldn’t place any passwords on the internet. 😉

    #18038
    Anonymous
    Inactive

    Thanks Fizze, that’s what puzzles me. I seem to have plenty of space.

    freenas:~# df -h
    Filesystem Size Used Avail Capacity Mounted on
    /dev/md0 79M 65M 13M 83% /
    devfs 1.0K 1.0K 0B 100% /dev
    /dev/ad1s1 226G 101G 107G 49% /mnt/Hitachi250
    /dev/ad4s1 361G 125G 207G 38% /mnt/WDigital4000
    /dev/ad6p1 451G 97G 318G 23% /mnt/WDigital5000
    /dev/md1 62M 174K 57M 0% /var
    /dev/ad2a 35M 30M 4.3M 88% /cf

    freenas:~# mount
    /dev/md0 on / (ufs, local)
    devfs on /dev (devfs, local)
    /dev/ad1s1 on /mnt/Hitachi250 (ufs, NFS exported, local, soft-updates, acls)
    /dev/ad4s1 on /mnt/WDigital4000 (ufs, local, soft-updates, acls)
    /dev/ad6p1 on /mnt/WDigital5000 (ufs, local, soft-updates, acls)
    /dev/md1 on /var (ufs, local, union)
    /dev/ad2a on /cf (ufs, local, read-only)

    #18036
    fizze
    Participant

    Yeah, but your /var is full. And that’s where you put mt-daapd.log 😉
    Linux with a full var is a very, very, and I mean very bad idea.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.