Монтирование сетевых дисков
-
nsergeip
Re: Монтирование сетевых дисков
вот что я прочитал в man smbmount
smbmount mounts a Linux SMB filesystem. It is usually invoked as
mount.smbfs by the mount(8) command when using the "-t smbfs" option.
This command only works in Linux, and the kernel must support the smbfs
filesystem.
как раз и выдается ошибка о том что smbfs filesystem not supported by the kernel
как то нужно эту поддержку врубить похоже
smbmount mounts a Linux SMB filesystem. It is usually invoked as
mount.smbfs by the mount(8) command when using the "-t smbfs" option.
This command only works in Linux, and the kernel must support the smbfs
filesystem.
как раз и выдается ошибка о том что smbfs filesystem not supported by the kernel
как то нужно эту поддержку врубить похоже
-
[mzd]
Re: Монтирование сетевых дисков
Цитата:
как то нужно эту поддержку врубить похоже
Установи пакет smbfs.
как то нужно эту поддержку врубить похоже
Установи пакет smbfs.
автоматическое монтирование шары в linux
-
must die
Re: Монтирование сетевых дисков
Цитата MOUNT.CIFS(8) MOUNT.CIFS(8):
NAME
mount.cifs - mount using the Common Internet File System (CIFS)
SYNOPSIS
mount.cifs {service} {mount-point} [-o options]
DESCRIPTION
This tool is part of the samba(7) suite.
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by
the mount(8) command when using the "-t cifs" option. This command only works
in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is
the successor to the SMB protocol and is supported by most Windows servers and
many other commercial servers and Network Attached Storage appliances as well
as by the popular Open Source server Samba.
NAME
mount.cifs - mount using the Common Internet File System (CIFS)
SYNOPSIS
mount.cifs {service} {mount-point} [-o options]
DESCRIPTION
This tool is part of the samba(7) suite.
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by
the mount(8) command when using the "-t cifs" option. This command only works
in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is
the successor to the SMB protocol and is supported by most Windows servers and
many other commercial servers and Network Attached Storage appliances as well
as by the popular Open Source server Samba.
-
ruslandh
Re: Монтирование сетевых дисков
Цитата MOUNT.CIFS(8) MOUNT.CIFS(8):
NAME
mount.cifs - mount using the Common Internet File System (CIFS)
SYNOPSIS
mount.cifs {service} {mount-point} [-o options]
DESCRIPTION
This tool is part of the samba(7) suite.
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by
the mount(8) command when using the "-t cifs" option. This command only works
in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is
the successor to the SMB protocol and is supported by most Windows servers and
many other commercial servers and Network Attached Storage appliances as well
as by the popular Open Source server Samba.
NAME
mount.cifs - mount using the Common Internet File System (CIFS)
SYNOPSIS
mount.cifs {service} {mount-point} [-o options]
DESCRIPTION
This tool is part of the samba(7) suite.
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by
the mount(8) command when using the "-t cifs" option. This command only works
in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is
the successor to the SMB protocol and is supported by most Windows servers and
many other commercial servers and Network Attached Storage appliances as well
as by the popular Open Source server Samba.
-
slaine
Re: Монтирование сетевых дисков
а какая версия samba'ы?
например начиная кажется c samba 3.023a нету smbfs и smbmount.
подключение так теперь происходит:
mount -t cifs //server/public /media/aaa
PS версия samba 3.023a глючная!
при подключении линукс компа к стевому диску запрещяется с него чтолибо копировать(с виндой норм).
Надо обновиться до версии samba 3.023с
например начиная кажется c samba 3.023a нету smbfs и smbmount.
подключение так теперь происходит:
mount -t cifs //server/public /media/aaa
PS версия samba 3.023a глючная!
при подключении линукс компа к стевому диску запрещяется с него чтолибо копировать(с виндой норм).
Надо обновиться до версии samba 3.023с
-
nsergeip
Re: Монтирование сетевых дисков
версия samba 3.023d, думаю свежее еще нет, действительно cifs проканал, но рано радоваться
вот что мне выдало после команды: mount -t cifs -o username=asu\killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd
74avs-ws:/home/killer # mount -t cifs -o username=asu\killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
думаю что тут с доменными пользователями винды что-то косячит, вот бы понять что?
все понял в чем трабла после детального изучения мануала, все вопросы отвалились, оказывается тут доменные имена указываются через вот такой слеш '/', а я через обратный указывал
mount -t cifs -o username=asu/killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd - работает!!!
нда, конечно через консоль все норм, но вот в файле fstab такое непроходит, нехочет он оттуда монтировать, где грабли? короче после того как я туда всавляю вышеуказанную рабочую команду, он мне пишет доступ запрешен
вот что мне выдало после команды: mount -t cifs -o username=asu\killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd
74avs-ws:/home/killer # mount -t cifs -o username=asu\killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
думаю что тут с доменными пользователями винды что-то косячит, вот бы понять что?
все понял в чем трабла после детального изучения мануала, все вопросы отвалились, оказывается тут доменные имена указываются через вот такой слеш '/', а я через обратный указывал
mount -t cifs -o username=asu/killer,password=12345 //ues1.snos.ru/updfiles /mnt/upd - работает!!!
нда, конечно через консоль все норм, но вот в файле fstab такое непроходит, нехочет он оттуда монтировать, где грабли? короче после того как я туда всавляю вышеуказанную рабочую команду, он мне пишет доступ запрешен
-
rrev
-
nsergeip
Re: Монтирование сетевых дисков
Цитата:
Самба какой версии?
про версию самбы уже писал, пост выше, внимательнее читать нужно, версия 3.023d.
Цитата:
Обычно лучше использовать не fstab а smbfstab
что-то ненашел такого файла в etc, может он где в другом месте лежит?
нашел я smbfs, прописал там, результата вообще нет, даже попытки смонтироваться
Самба какой версии?
про версию самбы уже писал, пост выше, внимательнее читать нужно, версия 3.023d.
Цитата:
Обычно лучше использовать не fstab а smbfstab
что-то ненашел такого файла в etc, может он где в другом месте лежит?
нашел я smbfs, прописал там, результата вообще нет, даже попытки смонтироваться
-
slaine
Re: Монтирование сетевых дисков
Запись вроде такая должна быть:
Код:
и надо ещё быть авторизованым в домене с WINBIND
Код:
Код: Выделить всё
//ues1.snos.ru/updfiles /mnt/upd cifs username=blabla,password=blablaи надо ещё быть авторизованым в домене с WINBIND
-
nsergeip
Re: Монтирование сетевых дисков
Цитата:
и надо ещё быть авторизованым в домене с WINBIND
непонял причем тут это, яж говорю через консоль набираю строку все норм, монтируется сразу, но при загрузке это строка в файле fstab неотрабатывает
Цитата:
//ues1.snos.ru/updfiles /mnt/upd cifs username=blabla,password=blabla
это пробовал, результата нет
и надо ещё быть авторизованым в домене с WINBIND
непонял причем тут это, яж говорю через консоль набираю строку все норм, монтируется сразу, но при загрузке это строка в файле fstab неотрабатывает
Цитата:
//ues1.snos.ru/updfiles /mnt/upd cifs username=blabla,password=blabla
это пробовал, результата нет