Results 1 to 10 of 10

Thread: samba problem

  1. #1

    samba problem

    mam problem z sambą
    gdy chce dodać duży plik ok 4GB to melduje mi pełny dysk
    po sprawdzeniu przez df -m mam na dysku wolne 243586 MB

    samba.conf
    Code:
    # Samba config file created using SWAT
    # from 192.168.1.2 (192.168.1.2)
    # Date: 1970/01/01 01:05:18
    
    # Global parameters
    [global]
    	server string = Samba Optware Server
    	security = SHARE
    	log file = /opt/var/log/samba/log.%m
    	max log size = 50
    	load printers = No
    	dns proxy = No
    	guest account = admin
    	shared mem size = 249431960
    	client code page = 852
    	character set = iso8859-2
    [homes]
    	comment = Home Directories
    	read only = No
    	browseable = No
    
    [printers]
    	comment = All Printers
    	path = /opt/var/spool/samba
    	printable = Yes
    	browseable = No
    
    [tmp]
    	comment = Temporary file space
    	path = /tmp
    	read only = No
    	guest ok = Yes
    [www]
    	comment = HTTP server files
    	path = /opt/share/www
    	read only = No
    	guest ok = Yes
    
    [torrent]
    	comment = torrenty
    	path = /tmp/harddisk/torrent
    	read only = No
    	guest ok = Yes
    fstab
    Code:
    device                 Mountpoint      FStype  Options         Dump    Pass#
    /dev/discs/disc0/part1  none            swap    sw              0       0
    /dev/discs/disc0/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disc0/part3  /tmp/harddisk   ext3    rw,noatime      1       1

  2. #2
    Join Date
    Dec 2009
    Location
    .pl
    Posts
    6
    Zrób 'df' i wklej wynik oraz napisz jeszcze na któr± partycję wrzucasz te 4GB.

  3. #3
    Code:
    [admin@WL-00221502EA6B root]$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    3072      3072         0 100% /
    /dev/root                 3072      3072         0 100% /
    /dev/discs/disc0/part2
                            988244    132028    806016  15% /opt
    /dev/discs/disc0/part3
                         306176336  41191448 249431960  15% /tmp/mnt/disc0_3
    wrzucam oczywiście na part3

  4. #4
    Join Date
    Aug 2008
    Location
    Poland, Biała Podlaska
    Posts
    276
    odmontuj ta partycje i e2fsck

  5. #5
    bez efektu
    Code:
    e2fsck 1.41.9 (22-Aug-2009)
    ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/discs/disc0/part3 is mounted.
    /dev/discs/disc0/part3 contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/discs/disc0/part3: 331/38895616 files (51.1% non-contiguous), 11518407/77764640 blocks

    dodaje jeszcze log z samby
    Code:
    [2009/12/23 07:58:45, 0] source/smbd/dfree.c:disk_free(140)
      WARNING: dfree is broken on this system
    [2009/12/23 07:59:30, 0] source/smbd/vfs.c:vfs_allocate_file_space(367)
      vfs_allocate_file_space: harddisk/elms/Vista acer.iso negative len requested.
    Last edited by hackereq; 23-12-2009 at 09:00.

  6. #6
    Join Date
    Dec 2009
    Location
    .pl
    Posts
    6
    Jak to jest że w 'fstab' masz:
    Code:
    /dev/discs/disc0/part3 /tmp/harddisk
    Natomiast 'df' pokazuje:
    Code:
    /dev/discs/disc0/part3 /tmp/mnt/disc0_3
    Załóż, w poniższy sposób, pusty plik na tej partycji:
    Code:
    dd if=/dev/zero of=/tmp/mnt/disc0_3/file4G.tmp bs=4G count=1

  7. #7
    Join Date
    Dec 2009
    Location
    .pl
    Posts
    6

    Post

    Code:
    [2009/12/23 07:58:45, 0] source/smbd/dfree.c:disk_free(140)
      WARNING: dfree is broken on this system
    [2009/12/23 07:59:30, 0] source/smbd/vfs.c:vfs_allocate_file_space(367)
      vfs_allocate_file_space: harddisk/elms/Vista acer.iso negative len requested.
    Poniżej masz rozwi±zanie tego problemu:

    http://www.samba.org/samba/docs/man/...mb.conf.5.html

    Szukaj nagłówka:
    dfree command (S)

  8. #8
    dfree pomogło ale częściowo
    nadal nie mogę zapisać pliku
    Code:
    [2009/12/23 22:10:26, 0] source/smbd/vfs.c:vfs_allocate_file_space(367)
      vfs_allocate_file_space: harddisk/elms/Vista acer.iso negative len requested.
    z poziomu linuxa mogę bez problemu zapisywać dowolne pliki
    problem jest przy zapisywaniu z poziomu windowsa

  9. #9
    Join Date
    Dec 2009
    Location
    .pl
    Posts
    6
    Jedyne co mi jeszcze przychodzi do głowy to zmiana samby na nowsz± wersję. Korzystasz z samby w wersji 2.x.x, prawda?

  10. #10
    tak z samby2
    po zainstalowaniu samby 3 miałem problemy z jej odpaleniem

Similar Threads

  1. problem with samba after reconnect (webgui)
    By anieln in forum WL-700g Q&A
    Replies: 0
    Last Post: 01-06-2009, 01:24
  2. Big problem with Samba
    By jakoob in forum WL-500g Q&A
    Replies: 0
    Last Post: 17-03-2009, 23:00
  3. Was wenn die USB Platte die 2. Disc ist - Problem Samba, Ftp,..
    By Transalpler in forum German Discussion - Deutsch (DE)
    Replies: 14
    Last Post: 06-11-2008, 17:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •