* [Comm] Монтирование виндовых шар в fstab
@ 2009-11-24 10:48 Михаил Шувалов
2009-11-24 10:53 ` Dmitriy Kruglikov
2009-11-24 11:54 ` Андрей Черепанов
0 siblings, 2 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-24 10:48 UTC (permalink / raw)
To: ALT Linux Community general discussions
Добрый день!
Имеем такой /etc/fstab:
proc /proc proc nosuid,noexec,gid=proc 0 0
devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0
tmpfs /tmp tmpfs nosuid 0 0
UUID=78d1e7f8-8b47-4ae1-b624-f832b7b263e1 / ext3 defaults 1 1
UUID=14dd94ef-ced3-4325-8e0d-6b70f6cd74e7 /home ext3 nosuid 1 2
UUID=83da275d-48bb-470a-b633-f420fb1f4684 /usr ext3 nodev,noatime 1 2
UUID=02dda4f5-04d4-49e0-84cd-5ceadb72bb05 /var ext3 nosuid 1 2
UUID=3f3c4fd0-b334-4ca3-bf3f-bc5b123c7689 swap swap defaults 0 0
#/dev/cdrom /mnt/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
#/dev/fd0 /mnt/floppy vfat rw,noauto,user,sync 0 0
//10.78.0.160/C$ /mnt/nt-ro/c cifs
iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=password,uid=500,gid=500,users
0 0
//10.78.0.160/D$ /mnt/nt-ro/d cifs
iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=password,uid=500,gid=500,users
0 0
//10.78.0.160/E$ /mnt/nt-ro/e cifs
iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=password,uid=500,gid=500,users
0 0
//10.78.3.237/C$ /mnt/to-18/C cifs
iocharset=utf8,codepage=cp866,username=user,password=password,uid=500,gid=500,users
0 0
//10.78.3.237/D$ /mnt/to-18/D cifs
iocharset=utf8,codepage=cp866,username=user,password=password,uid=500,gid=500,users
0 0
//10.78.0.170/EIIS /mnt/mailer-eiis cifs
users,username=guest,guest,iocharset=utf8,codepage=cp866 0 0
Как видно в последнюю очередь монтируются виндовые шары. Все вроде бы
хорошо, но в процессе загрузки на этом месте долгая пауза и вылетает
ошибка:
Mounting samba filesystem: mount error(113): No route to host
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
и НЕ монтируется первая из перечисленных шара (в данном случае там,
где /mnt/nt-ro/c), с остальными все хорошо. Порядок подключения шар
роли не играет все равно будет не подключаться первая подключаемая
шара (извините, по другому не скажешь). Такое впечатление, что на
момент, когда начинается этот процесс (монтирование виндовых шар) сеть
еще не до конца поднялась.
Вопрос. Как это побороть? После логина выполняется монтирование без проблем.
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 10:48 [Comm] Монтирование виндовых шар в fstab Михаил Шувалов
@ 2009-11-24 10:53 ` Dmitriy Kruglikov
2009-11-24 11:54 ` Андрей Черепанов
1 sibling, 0 replies; 17+ messages in thread
From: Dmitriy Kruglikov @ 2009-11-24 10:53 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 г. 12:48 пользователь Михаил Шувалов написал:
> Вопрос. Как это побороть? После логина выполняется монтирование без проблем.
Поставить noauto в fstab.
И, вероятно, users ...
Если нужно монтировать автоматом, то при старте сессии.
Или при обращении ...
Это не решение, но обход проблемы.
--
Best regards,
Dmitriy Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 10:48 [Comm] Монтирование виндовых шар в fstab Михаил Шувалов
2009-11-24 10:53 ` Dmitriy Kruglikov
@ 2009-11-24 11:54 ` Андрей Черепанов
2009-11-24 12:10 ` Михаил Шувалов
1 sibling, 1 reply; 17+ messages in thread
From: Андрей Черепанов @ 2009-11-24 11:54 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 Михаил Шувалов написал:
> Добрый день!
>
> Имеем такой /etc/fstab:
>
> proc /proc proc nosuid,noexec,gid=proc 0 0
> devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0
> tmpfs /tmp tmpfs nosuid 0 0
> UUID=78d1e7f8-8b47-4ae1-b624-f832b7b263e1 / ext3 defaults 1 1
> UUID=14dd94ef-ced3-4325-8e0d-6b70f6cd74e7 /home ext3 nosuid 1 2
> UUID=83da275d-48bb-470a-b633-f420fb1f4684 /usr ext3 nodev,noatime 1 2
> UUID=02dda4f5-04d4-49e0-84cd-5ceadb72bb05 /var ext3 nosuid 1 2
> UUID=3f3c4fd0-b334-4ca3-bf3f-bc5b123c7689 swap swap defaults 0 0
>
> #/dev/cdrom /mnt/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
> #/dev/fd0 /mnt/floppy vfat rw,noauto,user,sync 0 0
>
> //10.78.0.160/C$ /mnt/nt-ro/c cifs
> iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=passwo
> rd,uid=500,gid=500,users 0 0
> //10.78.0.160/D$ /mnt/nt-ro/d cifs
> iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=passwo
> rd,uid=500,gid=500,users 0 0
> //10.78.0.160/E$ /mnt/nt-ro/e cifs
> iocharset=utf8,codepage=cp866,username=user,workgroup=spbro,password=passwo
> rd,uid=500,gid=500,users 0 0
>
> //10.78.3.237/C$ /mnt/to-18/C cifs
> iocharset=utf8,codepage=cp866,username=user,password=password,uid=500,gid=5
> 00,users 0 0
> //10.78.3.237/D$ /mnt/to-18/D cifs
> iocharset=utf8,codepage=cp866,username=user,password=password,uid=500,gid=5
> 00,users 0 0
> //10.78.0.170/EIIS /mnt/mailer-eiis cifs
> users,username=guest,guest,iocharset=utf8,codepage=cp866 0 0
>
> Как видно в последнюю очередь монтируются виндовые шары. Все вроде бы
> хорошо, но в процессе загрузки на этом месте долгая пауза и вылетает
> ошибка:
>
> Mounting samba filesystem: mount error(113): No route to host
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>
> и НЕ монтируется первая из перечисленных шара (в данном случае там,
> где /mnt/nt-ro/c), с остальными все хорошо. Порядок подключения шар
> роли не играет все равно будет не подключаться первая подключаемая
> шара (извините, по другому не скажешь). Такое впечатление, что на
> момент, когда начинается этот процесс (монтирование виндовых шар) сеть
> еще не до конца поднялась.
> Вопрос. Как это побороть? После логина выполняется монтирование без
> проблем.
Настраивать сетевую подсистему через Etcnet. Тогда будет монтироваться быстро
и при старте.
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 11:54 ` Андрей Черепанов
@ 2009-11-24 12:10 ` Михаил Шувалов
2009-11-24 14:23 ` Андрей Черепанов
0 siblings, 1 reply; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-24 12:10 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 г. 14:54 пользователь Андрей Черепанов cas@ написал:
...
>> и НЕ монтируется первая из перечисленных шара (в данном случае там,
>> где /mnt/nt-ro/c), с остальными все хорошо. Порядок подключения шар
>> роли не играет все равно будет не подключаться первая подключаемая
>> шара (извините, по другому не скажешь). Такое впечатление, что на
>> момент, когда начинается этот процесс (монтирование виндовых шар) сеть
>> еще не до конца поднялась.
>> Вопрос. Как это побороть? После логина выполняется монтирование без
>> проблем.
> Настраивать сетевую подсистему через Etcnet. Тогда будет монтироваться быстро
> и при старте.
Дык вроде и так через Etcnet настраивается. А что именно подстроить? В
каком, так сказать, направлении смотреть? Поподробнее можно?
--
С уважением,
Михаил Шувалов
Sent from St Petersburg, Spe, Russia
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 12:10 ` Михаил Шувалов
@ 2009-11-24 14:23 ` Андрей Черепанов
2009-11-24 14:29 ` Dmitriy Kruglikov
2009-11-24 19:24 ` Михаил Шувалов
0 siblings, 2 replies; 17+ messages in thread
From: Андрей Черепанов @ 2009-11-24 14:23 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 Михаил Шувалов написал:
> 24 ноября 2009 г. 14:54 пользователь Андрей Черепанов cas@ написал:
> ...
>
> >> и НЕ монтируется первая из перечисленных шара (в данном случае там,
> >> где /mnt/nt-ro/c), с остальными все хорошо. Порядок подключения шар
> >> роли не играет все равно будет не подключаться первая подключаемая
> >> шара (извините, по другому не скажешь). Такое впечатление, что на
> >> момент, когда начинается этот процесс (монтирование виндовых шар) сеть
> >> еще не до конца поднялась.
> >> Вопрос. Как это побороть? После логина выполняется монтирование без
> >> проблем.
> >
> > Настраивать сетевую подсистему через Etcnet. Тогда будет монтироваться
> > быстро и при старте.
>
> Дык вроде и так через Etcnet настраивается. А что именно подстроить? В
> каком, так сказать, направлении смотреть? Поподробнее можно?
В acc: Ethernet-интерфейсы - (выберите интерфейс) - Дополнительно - Сетевая
подсистема: Etcnet. Ok. Применить.
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:23 ` Андрей Черепанов
@ 2009-11-24 14:29 ` Dmitriy Kruglikov
2009-11-24 14:36 ` Андрей Черепанов
2009-11-24 19:24 ` Михаил Шувалов
1 sibling, 1 reply; 17+ messages in thread
From: Dmitriy Kruglikov @ 2009-11-24 14:29 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 г. 16:23 пользователь Андрей Черепанов написал:
> В acc: Ethernet-интерфейсы - (выберите интерфейс) - Дополнительно - Сетевая
> подсистема: Etcnet. Ok. Применить.
... и NM накроется медным тазиком ...
А в случае, если ноут подключается то шворкой, то Wi-Fi,
монтирование шары происходить будет весьма неустойчиво ...
--
Best regards,
Dmitriy Kruglikov.
QString at, dot, mail, XMPP;
at = "@";
dot = ".";
mail = "Dmitriy.Kruglikov" + $at +"gmail" + $dot + "com";
XMPP = $mail;
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:29 ` Dmitriy Kruglikov
@ 2009-11-24 14:36 ` Андрей Черепанов
2009-11-24 14:40 ` Dmitriy Kruglikov
2009-11-24 19:26 ` Михаил Шувалов
0 siblings, 2 replies; 17+ messages in thread
From: Андрей Черепанов @ 2009-11-24 14:36 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 Dmitriy Kruglikov написал:
> 24 ноября 2009 г. 16:23 пользователь Андрей Черепанов написал:
> > В acc: Ethernet-интерфейсы - (выберите интерфейс) - Дополнительно -
> > Сетевая подсистема: Etcnet. Ok. Применить.
>
> ... и NM накроется медным тазиком ...
> А в случае, если ноут подключается то шворкой, то Wi-Fi,
> монтирование шары происходить будет весьма неустойчиво ...
Отключите NM только для проводного интерфейса. А монтирование через NM
прекрасно работает. Нужно прочитать altlinux.org/FAQ:
Как автоматически подключать сетевые диски, если я использую NetworkManager
Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
Например:
altair:/space /mnt/net nfs nolock,_netdev
0 0
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:36 ` Андрей Черепанов
@ 2009-11-24 14:40 ` Dmitriy Kruglikov
2009-11-24 19:18 ` Андрей Черепанов
2009-11-25 17:52 ` Михаил Шувалов
2009-11-24 19:26 ` Михаил Шувалов
1 sibling, 2 replies; 17+ messages in thread
From: Dmitriy Kruglikov @ 2009-11-24 14:40 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 г. 16:36 пользователь Андрей Черепанов написал:
> Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
> Например:
> altair:/space /mnt/net nfs nolock,_netdev
> 0 0
Так может быть это и есть необходимое и достаточное?
А не приседания с подскоками вокруг Etcnet ?
--
Best regards,
Dmitriy Kruglikov.
QString at, dot, mail, XMPP;
at = "@";
dot = ".";
mail = "Dmitriy.Kruglikov" + $at +"gmail" + $dot + "com";
XMPP = $mail;
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:40 ` Dmitriy Kruglikov
@ 2009-11-24 19:18 ` Андрей Черепанов
2009-11-24 19:52 ` Михаил Шувалов
2009-11-25 17:52 ` Михаил Шувалов
1 sibling, 1 reply; 17+ messages in thread
From: Андрей Черепанов @ 2009-11-24 19:18 UTC (permalink / raw)
To: ALT Linux Community general discussions
24 ноября 2009 Dmitriy Kruglikov написал:
> 24 ноября 2009 г. 16:36 пользователь Андрей Черепанов написал:
> > Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
> > Например:
> > altair:/space /mnt/net nfs nolock,_netdev
> > 0 0
>
> Так может быть это и есть необходимое и достаточное?
> А не приседания с подскоками вокруг Etcnet ?
Ну да. Только вы неправильно сформулировали и поэтому было неясно, что нужно.
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 19:18 ` Андрей Черепанов
@ 2009-11-24 19:52 ` Михаил Шувалов
0 siblings, 0 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-24 19:52 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Втр, 24/11/2009 в 22:18 +0300, Андрей Черепанов пишет:
> 24 ноября 2009 Dmitriy Kruglikov написал:
> > 24 ноября 2009 г. 16:36 пользователь Андрей Черепанов написал:
> > > Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
> > > Например:
> > > altair:/space /mnt/net nfs nolock,_netdev
> > > 0 0
> >
> > Так может быть это и есть необходимое и достаточное?
> > А не приседания с подскоками вокруг Etcnet ?
> Ну да. Только вы неправильно сформулировали и поэтому было неясно, что нужно.
>
Формулировал вопрос вроде бы я :) В первом сообщении было приведено
содержимое /etc/fstab при котором первая из подключаемых _виндовых_ шар
не монтируется и при старте системы выдается ошибка.
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:40 ` Dmitriy Kruglikov
2009-11-24 19:18 ` Андрей Черепанов
@ 2009-11-25 17:52 ` Михаил Шувалов
2009-11-26 5:46 ` K. A. Bylym
2009-11-26 6:14 ` AShen
1 sibling, 2 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-25 17:52 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Втр, 24/11/2009 в 16:40 +0200, Dmitriy Kruglikov пишет:
> 24 ноября 2009 г. 16:36 пользователь Андрей Черепанов написал:
>
> > Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
> > Например:
> > altair:/space /mnt/net nfs nolock,_netdev
> > 0 0
> Так может быть это и есть необходимое и достаточное?
> А не приседания с подскоками вокруг Etcnet ?
>
И все таки, ни у кого больше нет вариантов как побороть ошибку при
подключении первой _виндовой_ шары?
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-25 17:52 ` Михаил Шувалов
@ 2009-11-26 5:46 ` K. A. Bylym
2009-11-26 13:58 ` Михаил Шувалов
2009-11-26 6:14 ` AShen
1 sibling, 1 reply; 17+ messages in thread
From: K. A. Bylym @ 2009-11-26 5:46 UTC (permalink / raw)
To: community
On Wed, 25 Nov 2009 20:52:04 +0300
Шувалов wrote:
> И все таки, ни у кого больше нет вариантов как побороть ошибку при
> подключении первой _виндовой_ шары?
>
>
Ну... можно и в /etc/rc.d/rc.local прописать. Заодно и проверять наличие
хостов с шарами..
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-26 5:46 ` K. A. Bylym
@ 2009-11-26 13:58 ` Михаил Шувалов
0 siblings, 0 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-26 13:58 UTC (permalink / raw)
To: ALT Linux Community general discussions
26 ноября 2009 г. 8:46 пользователь K. A. Bylym bylko@ написал:
> On Wed, 25 Nov 2009 20:52:04 +0300
> Шувалов wrote:
>
>
>> И все таки, ни у кого больше нет вариантов как побороть ошибку при
>> подключении первой _виндовой_ шары?
>>
>>
> Ну... можно и в /etc/rc.d/rc.local прописать. Заодно и проверять наличие
> хостов с шарами..
Костыль получается, а хочется найти причину. А хосты и шары на момент
подключения однозначно есть и пингуются.
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-25 17:52 ` Михаил Шувалов
2009-11-26 5:46 ` K. A. Bylym
@ 2009-11-26 6:14 ` AShen
2009-11-26 14:09 ` Михаил Шувалов
1 sibling, 1 reply; 17+ messages in thread
From: AShen @ 2009-11-26 6:14 UTC (permalink / raw)
To: ALT Linux Community general discussions
On 25.11.2009 20:52, Михаил Шувалов wrote:
> В Втр, 24/11/2009 в 16:40 +0200, Dmitriy Kruglikov пишет:
>
>> 24 ноября 2009 г. 16:36 пользователь Андрей Черепанов написал:
>>
>>
>>> Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
>>> Например:
>>> altair:/space /mnt/net nfs nolock,_netdev
>>> 0 0
>>>
>> Так может быть это и есть необходимое и достаточное?
>> А не приседания с подскоками вокруг Etcnet ?
> И все таки, ни у кого больше нет вариантов как побороть ошибку при
> подключении первой _виндовой_ шары?
>
cat /etc/fstab | grep '//'
//192.168.2.4/distrib /mnt/distrib cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//192.168.2.4/veda3000 /mnt/consultant cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//192.168.2.7/mm /mnt/mm cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//192.168.2.7/103 /mnt/103 cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//192.168.2.3/backup /mnt/backup cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//192.168.2.7/drweb /mnt/drweb cifs
users,username=yyy,password=zzz,iocharset=utf8 0 0
//nalog2/nalog /mnt/nalog cifs
noauto,users,username=yyy,password=zzz,iocharset=utf8 0 0
И ни каких проблем нет.
Проверьте права доступа на не подключаемую шару.
Атак же проверьте параметры безопасности для данного на соотвестующий
каталог.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-26 6:14 ` AShen
@ 2009-11-26 14:09 ` Михаил Шувалов
0 siblings, 0 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-26 14:09 UTC (permalink / raw)
To: ALT Linux Community general discussions
26 ноября 2009 г. 9:14 пользователь AShen ashen@ написал:
[...]
> И ни каких проблем нет.
> Проверьте права доступа на не подключаемую шару.
> Атак же проверьте параметры безопасности для данного на соотвестующий
> каталог.
С этим все в порядке. Если поменять местами порядок подключения, то
все равно _первая_ шара не подключается.
Как я уже писал, такое впечатление, что сеть до конца еще не поднялась
на момент подключения первой шары, ибо все последующие подключаются
нормально.
Как бы этот момент отследить, проверить, полностью поднята сеть или нет?
К стати да, точно, сеть не успевает подниматься на момент отработки
/etc/fstab. Сейчас вот вспомнил, что из-за этого пришлось поднятие IPX
и монтирование новеловской шары вынести в /etc/rc.d/rc.local.
--
С уважением,
Михаил Шувалов
Sent from St Petersburg, Spe, Russia
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:36 ` Андрей Черепанов
2009-11-24 14:40 ` Dmitriy Kruglikov
@ 2009-11-24 19:26 ` Михаил Шувалов
1 sibling, 0 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-24 19:26 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Втр, 24/11/2009 в 17:36 +0300, Андрей Черепанов пишет:
> 24 ноября 2009 Dmitriy Kruglikov написал:
> > 24 ноября 2009 г. 16:23 пользователь Андрей Черепанов написал:
> > > В acc: Ethernet-интерфейсы - (выберите интерфейс) - Дополнительно -
> > > Сетевая подсистема: Etcnet. Ok. Применить.
> >
> > ... и NM накроется медным тазиком ...
> > А в случае, если ноут подключается то шворкой, то Wi-Fi,
> > монтирование шары происходить будет весьма неустойчиво ...
> Отключите NM только для проводного интерфейса. А монтирование через NM
> прекрасно работает. Нужно прочитать altlinux.org/FAQ:
>
> Как автоматически подключать сетевые диски, если я использую NetworkManager
>
> Добавьте параметр _netdev у подключаемых сетевых дисков в /etc/fstab.
> Например:
> altair:/space /mnt/net nfs nolock,_netdev
> 0 0
>
При монтировании используется CIFS. Все таки виндовые шары.
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Монтирование виндовых шар в fstab
2009-11-24 14:23 ` Андрей Черепанов
2009-11-24 14:29 ` Dmitriy Kruglikov
@ 2009-11-24 19:24 ` Михаил Шувалов
1 sibling, 0 replies; 17+ messages in thread
From: Михаил Шувалов @ 2009-11-24 19:24 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Втр, 24/11/2009 в 17:23 +0300, Андрей Черепанов пишет:
> 24 ноября 2009 Михаил Шувалов написал:
> > 24 ноября 2009 г. 14:54 пользователь Андрей Черепанов cas@ написал:
> > ...
> >
> > >> и НЕ монтируется первая из перечисленных шара (в данном случае там,
> > >> где /mnt/nt-ro/c), с остальными все хорошо. Порядок подключения шар
> > >> роли не играет все равно будет не подключаться первая подключаемая
> > >> шара (извините, по другому не скажешь). Такое впечатление, что на
> > >> момент, когда начинается этот процесс (монтирование виндовых шар) сеть
> > >> еще не до конца поднялась.
> > >> Вопрос. Как это побороть? После логина выполняется монтирование без
> > >> проблем.
> > >
> > > Настраивать сетевую подсистему через Etcnet. Тогда будет монтироваться
> > > быстро и при старте.
> >
> > Дык вроде и так через Etcnet настраивается. А что именно подстроить? В
> > каком, так сказать, направлении смотреть? Поподробнее можно?
> В acc: Ethernet-интерфейсы - (выберите интерфейс) - Дополнительно - Сетевая
> подсистема: Etcnet. Ok. Применить.
Все так и делалось в свое время. Но увы.
--
С уважением,
Михаил Шувалов
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2009-11-26 14:09 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 10:48 [Comm] Монтирование виндовых шар в fstab Михаил Шувалов
2009-11-24 10:53 ` Dmitriy Kruglikov
2009-11-24 11:54 ` Андрей Черепанов
2009-11-24 12:10 ` Михаил Шувалов
2009-11-24 14:23 ` Андрей Черепанов
2009-11-24 14:29 ` Dmitriy Kruglikov
2009-11-24 14:36 ` Андрей Черепанов
2009-11-24 14:40 ` Dmitriy Kruglikov
2009-11-24 19:18 ` Андрей Черепанов
2009-11-24 19:52 ` Михаил Шувалов
2009-11-25 17:52 ` Михаил Шувалов
2009-11-26 5:46 ` K. A. Bylym
2009-11-26 13:58 ` Михаил Шувалов
2009-11-26 6:14 ` AShen
2009-11-26 14:09 ` Михаил Шувалов
2009-11-24 19:26 ` Михаил Шувалов
2009-11-24 19:24 ` Михаил Шувалов
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git