Zrób 'df' i wklej wynik oraz napisz jeszcze na któr± partycję wrzucasz te 4GB.
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
fstabCode:# 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
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
Zrób 'df' i wklej wynik oraz napisz jeszcze na któr± partycję wrzucasz te 4GB.
wrzucam oczywiście na part3Code:[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
odmontuj ta partycje i e2fsck
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.
Jak to jest że w 'fstab' masz:
Natomiast 'df' pokazuje:Code:/dev/discs/disc0/part3 /tmp/harddisk
Załóż, w poniższy sposób, pusty plik na tej partycji:Code:/dev/discs/disc0/part3 /tmp/mnt/disc0_3
Code:dd if=/dev/zero of=/tmp/mnt/disc0_3/file4G.tmp bs=4G count=1
Poniżej masz rozwi±zanie tego problemu: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.
http://www.samba.org/samba/docs/man/...mb.conf.5.html
Szukaj nagłówka:
dfree command (S)
dfree pomogło ale częściowo
nadal nie mogę zapisać pliku
z poziomu linuxa mogę bez problemu zapisywać dowolne plikiCode:[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.
problem jest przy zapisywaniu z poziomu windowsa
Jedyne co mi jeszcze przychodzi do głowy to zmiana samby na nowsz± wersję. Korzystasz z samby w wersji 2.x.x, prawda?
tak z samby2
po zainstalowaniu samby 3 miałem problemy z jej odpaleniem