cifs не монтируется сетевой диск
user_sv 16 сентября, 2014 - 10:16
mount: //192.168.0.35/buh_most is write-protected, mounting read-only
mount: cannot mount //192.168.0.35/buh_most read-only
Есть виндовый ком, на нем открыты папки в режиме только чтение. Не получается к ним подключится. Как подключить такие диски?
[ 3646.700659] CIFS VFS: cifs_mount failed w/return code = -13
[ 3805.549886] CIFS VFS: cifs_mount failed w/return code = -13
[ 3805.554302] CIFS VFS: cifs_mount failed w/return code = -13
[ 3992.904297] CIFS VFS: cifs_mount failed w/return code = -13
[ 3992.908418] CIFS VFS: cifs_mount failed w/return code = -13
»
- Для комментирования войдите или зарегистрируйтесь
Извините, телепаты в
Извините, телепаты в отпуске.
eix -c -I cifs
ListAllSharedFolderPermission.ps1
dmesg |tail -100
и
спелл монтирования
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)
# eix -c -I cifs -bash: eix:
# eix -c -I cifs
-bash: eix: команда не найдена
dmesg
[ 2.884110] 3ware 9000 Storage Controller device driver for Linux v2.26.02.014.
[ 2.906384] HP CISS Driver (v 3.6.26)
[ 2.943455] Adaptec aacraid driver 1.2-0[30200]-ms
[ 2.956886] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
[ 2.958497] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
[ 2.970340] megasas: 06.700.06.00-rc1 Sat. Aug. 31 17:00:00 PDT 2013
[ 2.982424] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.06.00.12-k.
[ 3.020668] Emulex LightPulse Fibre Channel SCSI driver 8.3.43
[ 3.020673] Copyright(c) 2004-2013 Emulex. All rights reserved.
[ 3.037146] aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
[ 3.130163] Switched to clocksource tsc
[ 3.217309] usbcore: registered new interface driver usbhid
[ 3.217314] usbhid: USB HID core driver
[ 3.531759] device-mapper: uevent: version 1.0.3
[ 3.532286] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised:
[ 3.614903] md: raid0 personality registered for level 0, Peter Oruba
[ 3.621919] md: raid1 personality registered for level 1
[ 3.790503] raid6: sse2x1 103 MB/s
[ 3.960194] raid6: sse2x2 207 MB/s
[ 4.130049] raid6: sse2x4 414 MB/s
[ 4.130055] raid6: using algorithm sse2x4 (414 MB/s)
[ 4.130058] raid6: using ssse3x2 recovery algorithm
[ 4.131136] async_tx: api initialized (async)
[ 4.132024] xor: measuring software checksum speed
[ 4.230026] prefetch64-sse: 5560.800 MB/sec
[ 4.330024] generic_sse: 4946.800 MB/sec
[ 4.330030] xor: using function: prefetch64-sse (5560.800 MB/sec)
[ 4.336020] md: raid6 personality registered for level 6
[ 4.336027] md: raid5 personality registered for level 5
[ 4.336031] md: raid4 personality registered for level 4
[ 4.375785] md: raid10 personality registered for level 10
[ 4.382126] md: linear personality registered for level -1
[ 4.388664] md: multipath personality registered for level -4
[ 4.537081] fuse init (API version 7.22)
[ 4.583001] Loading iSCSI transport class v2.0-870.
[ 4.886984] kjournald starting. Commit interval 5 seconds
[ 4.887201] EXT3-fs (sda3): mounted filesystem with ordered data mode
[ 8.272226] systemd-udevd[1829]: starting version 215
[ 8.497324] random: systemd-udevd urandom read with 94 bits of entropy available
[ 9.052439] rtc_cmos 00:02: RTC can wake from S4
[ 9.052739] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[ 9.052787] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 9.066369] agpgart-intel 0000:00:00.0: Intel GMA3150 Chipset
[ 9.066440] agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
[ 9.066585] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[ 9.067032] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 9.151326] i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
[ 9.170255] systemd-udevd[1843]: renamed network interface eth0 to enp1s0
[ 9.178085] microcode: CPU0 sig=0x106ca, pf=0x8, revision=0x105
[ 9.233055] microcode: CPU1 sig=0x106ca, pf=0x8, revision=0x105
[ 9.233128] microcode: CPU2 sig=0x106ca, pf=0x8, revision=0x105
[ 9.233228] microcode: CPU3 sig=0x106ca, pf=0x8, revision=0x105
[ 9.233479] microcode: Microcode Update Driver: v2.00
[ 9.346411] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 10.787054] random: nonblocking pool is initialized
[ 11.790432] EXT3-fs (sda3): using internal journal
[ 12.103983] Adding 2097148k swap on /dev/sda2. Priority:-1 extents:1 across:2097148k
[ 15.894510] ATL1E 0000:01:00.0 enp1s0: NIC Link is Up <100 Mbps Full Duplex>
[ 17.804339] NET: Registered protocol family 10
[ 64.420048] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 64.573249] usb 1-1: New USB device found, idVendor=2109, idProduct=0700
[ 64.573258] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 64.573263] usb 1-1: Product: Via Labs VL700
[ 64.573267] usb 1-1: Manufacturer: VLI Inc.
[ 64.573271] usb 1-1: SerialNumber: 1002250000000025
[ 64.573989] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 64.574218] scsi2 : usb-storage 1-1:1.0
[ 80.159577] scsi 2:0:0:0: Direct-Access VLI Inc. VL700 USB 3.0 1209 PQ: 0 ANSI: 2
[ 80.160660] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 80.162201] sd 2:0:0:0: [sdb] 1953525165 512-byte logical blocks: (1.00 TB/931 GiB)
[ 80.162659] sd 2:0:0:0: [sdb] Write Protect is off
[ 80.162668] sd 2:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 80.163026] sd 2:0:0:0: [sdb] No Caching mode page found
[ 80.163034] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 80.166339] sd 2:0:0:0: [sdb] No Caching mode page found
[ 80.166350] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 80.173597] sdb: sdb1
[ 80.180790] sd 2:0:0:0: [sdb] No Caching mode page found
[ 80.180800] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 80.180808] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 233.982031] CIFS VFS: cifs_mount failed w/return code = -6
[ 302.002867] CIFS VFS: Malformed UNC in devname.
[ 405.756546] CIFS VFS: Malformed UNC in devname.
[ 1036.013999] CIFS VFS: Malformed UNC in devname.
[ 1046.060062] CIFS VFS: cifs_mount failed w/return code = -6
[ 1088.296527] CIFS VFS: cifs_mount failed w/return code = -6
[ 1292.262036] CIFS VFS: cifs_mount failed w/return code = -13
[ 1292.266285] CIFS VFS: cifs_mount failed w/return code = -13
[ 1479.756670] CIFS VFS: cifs_mount failed w/return code = -13
[ 1479.761303] CIFS VFS: cifs_mount failed w/return code = -13
[ 1886.722433] CIFS VFS: cifs_mount failed w/return code = -13
[ 1985.066995] CIFS VFS: cifs_mount failed w/return code = -13
[ 2211.525770] CIFS VFS: cifs_mount failed w/return code = -13
[ 3595.069796] CIFS VFS: cifs_mount failed w/return code = -13
[ 3633.458763] CIFS VFS: Malformed UNC in devname.
[ 3646.700659] CIFS VFS: cifs_mount failed w/return code = -13
[ 3805.549886] CIFS VFS: cifs_mount failed w/return code = -13
[ 3805.554302] CIFS VFS: cifs_mount failed w/return code = -13
[ 3992.904297] CIFS VFS: cifs_mount failed w/return code = -13
[ 3992.908418] CIFS VFS: cifs_mount failed w/return code = -13
mount //192.168.0.35/buh_most -o username=bacup,password=$100HPdata /mnt
Проблема может быть где
Проблема может быть где угодно. Я бы начал с того, что запустил программу
smbclient -L 192.168.0.35 -U 'bacup%$100HPdata'
и посмотрел, есть ли buh_most в списке Shares для этого хоста.
Далее, я бы пробовал подмонтировать руками и смотрел что пишет mount. Кстати. Команда для монтирования
руками будет
mount -t cifs -o 'username=bacup,password=$100HPdata' //192.168.0.35/buh_most /mnt
либо напрямую использовать mount.cifs вместо "mount -t cifs"
Чем больше юзерфрендли, тем сложнее юзать.
доступ открыт, монтирую
доступ открыт, монтирую руками. Дома на другом компе проверял, работает. Правда ядро собрано там genkernal all
инопланетяне
Взято с течнета мелкомягких
Попробуйте добавить
ro
в опцииP.S. А еще тут предлагают добавить
sec=ntlm
ro -только чтение. Добавлял
ro -только чтение. Добавлял проблема явно не в способе монтирования. что-то не так с ядром, cifs был отключен. Пересобрал, но видимо не все.
опять инопланетяне
экранировать $ в пароле пробовали?
Все разобрался, кнопка запала
Все разобрался, кнопка запала когда писал пользователя backup
user_sv написал(а): Все
=)
ставьте "решено" тогда :)