Re: Corruption of Samba mount points
On Thu, 19 Nov 2020 08:40:35 -0500 songbird wrote: > Joe wrote: > ... > > No other replies, so I assume this is another of My Personal Bugs. > > I've reported a few bugs over the years that have turned out to be > > visible only to me. I don't suppose there are any two identical > > installations of sid anywhere in the world. > > > > Maybe this is a hint that it's time to reinstall, this installation > > is probably at least ten years old, and there have been about nine > > packages that can't be upgraded for a couple of months now. But > > that's going to be the best part of a day that I can't really > > spare... > > if the hardware is that old it may be having issues or a > cable connection is loose or something else. that is what > can be tough about such a failure. adding unstable to that > well, as they say, sometimes you get to keep all the parts > of what is broken. :) I didn't say the hardware was ten years old, just the Debian installation. You can often just move a hard drive to a new motherboard [of the same architecture] and have it boot fairly well, with just a few bits of messing about to restore full functionality. Hardware failures will normally cause unpredictable software failures, I've seen the same problem three times now. It's some form of software rot. > > i only run a few bits of unstable (firefox and a few > other very isolated leaf packages) and always have another > partition on another device that will boot stable and also > yet another stable setup on a USB stick, besides the > netinst image on a USB stick that will boot a rescue > prompt if needed. so far i haven't had to use them often > but when i've had to check something out or compare what > was going on in stable compared to testing it was a welcome > help. I have two buster installations on netbooks and another on a laptop, with a spare desktop currently containing my final jessie server before the upgrade to a new stretch hard drive which now runs my HP Microserver. I'm not short of spare computers. I even have a new Raspberry Pi 4 which will become one of the new servers to replace the Microserver in due course. > > good luck! :) Thank you. -- Joe
Re: Corruption of Samba mount points
Joe wrote: ... > No other replies, so I assume this is another of My Personal Bugs. I've > reported a few bugs over the years that have turned out to be visible > only to me. I don't suppose there are any two identical installations > of sid anywhere in the world. > > Maybe this is a hint that it's time to reinstall, this installation is > probably at least ten years old, and there have been about nine > packages that can't be upgraded for a couple of months now. But that's > going to be the best part of a day that I can't really spare... if the hardware is that old it may be having issues or a cable connection is loose or something else. that is what can be tough about such a failure. adding unstable to that well, as they say, sometimes you get to keep all the parts of what is broken. :) i only run a few bits of unstable (firefox and a few other very isolated leaf packages) and always have another partition on another device that will boot stable and also yet another stable setup on a USB stick, besides the netinst image on a USB stick that will boot a rescue prompt if needed. so far i haven't had to use them often but when i've had to check something out or compare what was going on in stable compared to testing it was a welcome help. good luck! :) songbird
Re: Corruption of Samba mount points
On Wed, 18 Nov 2020 19:26:59 -0600 David Wright wrote: > On Wed 18 Nov 2020 at 21:41:30 (+), Joe wrote: > > It began with booting this morning. No wallpaper. No network shares > > mounted (they are set to automount using systemd, but if I tried > > accessing most of them, the error message contained the path of the > > mount point followed by 'no such device'. > > > > The mount points looked OK in a GUI file manager and also with mc. > > Doing an ls-l of the parent directory showed a few mount points as > > normal, the others showed the name and the 'd' of the permissions > > string, but everything else was '?' marks. > > > > Eventually tried umounting the affected points, and all was well > > after that. > > > > The same thing happened at the next boot of the day, it wasn't an > > ephemeral glitch, though the mount points affected weren't exactly > > the same ones. > > > > I assume one of the upgrades to sid last night was responsible for > > this, other computers have no problem seeing the same shares. Anyone > > else seeing it, Google doesn't seem to find anything? > > I don't know if it helps to know that you need x permission to see any > more in a directory than, eg: > > total 0 > d? ? ? ? ?? DCIM > d? ? ? ? ?? MISC > -? ? ? ? ?? README > Thanks, no, I didn't know that, never encountered it before. That simplifies things a bit: so some of these mounts are being deliberately made by root during boot. They are all automount, so should never mount until a file is called for, and they are all data so there is no possible reason for them to be needed during boot. Finally, it worked for years until yesterday morning. Same again today, so last night's upgrades didn't fix it. No other replies, so I assume this is another of My Personal Bugs. I've reported a few bugs over the years that have turned out to be visible only to me. I don't suppose there are any two identical installations of sid anywhere in the world. Maybe this is a hint that it's time to reinstall, this installation is probably at least ten years old, and there have been about nine packages that can't be upgraded for a couple of months now. But that's going to be the best part of a day that I can't really spare... -- Joe
Re: Corruption of Samba mount points
On Wed 18 Nov 2020 at 21:41:30 (+), Joe wrote: > It began with booting this morning. No wallpaper. No network shares > mounted (they are set to automount using systemd, but if I tried > accessing most of them, the error message contained the path of the > mount point followed by 'no such device'. > > The mount points looked OK in a GUI file manager and also with mc. Doing > an ls-l of the parent directory showed a few mount points as normal, the > others showed the name and the 'd' of the permissions string, but > everything else was '?' marks. > > Eventually tried umounting the affected points, and all was well after > that. > > The same thing happened at the next boot of the day, it wasn't an > ephemeral glitch, though the mount points affected weren't exactly the > same ones. > > I assume one of the upgrades to sid last night was responsible for > this, other computers have no problem seeing the same shares. Anyone > else seeing it, Google doesn't seem to find anything? I don't know if it helps to know that you need x permission to see any more in a directory than, eg: total 0 d? ? ? ? ?? DCIM d? ? ? ? ?? MISC -? ? ? ? ?? README Cheers, David.
Corruption of Samba mount points
It began with booting this morning. No wallpaper. No network shares mounted (they are set to automount using systemd, but if I tried accessing most of them, the error message contained the path of the mount point followed by 'no such device'. The mount points looked OK in a GUI file manager and also with mc. Doing an ls-l of the parent directory showed a few mount points as normal, the others showed the name and the 'd' of the permissions string, but everything else was '?' marks. Eventually tried umounting the affected points, and all was well after that. The same thing happened at the next boot of the day, it wasn't an ephemeral glitch, though the mount points affected weren't exactly the same ones. I assume one of the upgrades to sid last night was responsible for this, other computers have no problem seeing the same shares. Anyone else seeing it, Google doesn't seem to find anything? -- Joe
Re: very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link
On 4/15/13, Zenaan Harkness z...@freedbms.net wrote: On 4/15/13, Zenaan Harkness z...@freedbms.net wrote: Again, here's my command (all one line): $ sudo mount -t cifs -o file_mode=0666,dir_mode=0777,setuids,credentials=mycreds //server.ip.address/git /x When I copy files from the /x/ mount to the /x/ mount, or within (both from and to) the /x/ mount, it is extremely slow, in the order of 100KiB/s Interestingly, my problem of slowdown only seems to happen when copying _to_ the mount (either from local storage, or from the mount itself), but copying _from_ the mount _to_ local storage is normal (fast). Is there any reason I should not file a bug report against cifs-utils at this point? TIA Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnsrdsthvvs+nggtpwdk1fsafhtobvaclfc8ja752qnv...@mail.gmail.com
very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link
I realised my subject belied a little misunderstanding on my part. cifs-utils is now separate to samba. cifs-utils provides for kernel mount of windows (or samba) shares. Again, here's my command (all one line): $ sudo mount -t cifs -o file_mode=0666,dir_mode=0777,setuids,credentials=mycreds //server.ip.address/git /x When I copy files from the /x/ mount to the /x/ mount, or within (both from and to) the /x/ mount, it is extremely slow, in the order of 100KiB/s I'll see if I can hunt up a fuse option and test that. TIA Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSSQ4QW_BJCso0gUEe=rU1NXM4FjTtCcnNkC46=v+my...@mail.gmail.com
Re: very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link
On 4/15/13, Zenaan Harkness z...@freedbms.net wrote: Again, here's my command (all one line): $ sudo mount -t cifs -o file_mode=0666,dir_mode=0777,setuids,credentials=mycreds //server.ip.address/git /x When I copy files from the /x/ mount to the /x/ mount, or within (both from and to) the /x/ mount, it is extremely slow, in the order of 100KiB/s Interestingly, my problem of slowdown only seems to happen when copying _to_ the mount (either from local storage, or from the mount itself), but copying _from_ the mount _to_ local storage is normal (fast). Baffling, Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnsrh5fqwd1mlpojt1lqkan_kcfbvszydbcnxfyuj0fh...@mail.gmail.com
copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link
Hi, I can't get a normal lan-speed copy from debian wheezy client to xp server: Server is WindowsXP SP3, client is debian testing (updated as at about a week or two ago). Fresh boot: $ sudo mount -t cifs -o file_mode=0666,dir_mode=0777,setuids,credentials=mycreds //server.ip.address/git /x $ rsync -vv --progress libreoffice-calc-guide_CG34-CalcGuideLO.pdf /x/ delta-transmission disabled for local transfer or --whole-file libreoffice-calc-guide_CG34-CalcGuideLO.pdf 9729872 100% 71.14MB/s0:00:00 (xfer#1, to-check=0/1) total: matches=0 hash_hits=0 false_alarms=0 data=9729872 sent 9731164 bytes received 31 bytes 93121.48 bytes/sec total size is 9729872 speedup is 1.00 - Please note the about 90KiB/second result above. The fastest run I got was nearly 100KiB/second, but all runs a similar slow speed. The client is a gigabit eth network, but the server is only 100Mib ethernet port, so maximum speed should (and used to be) about 6 to 9 MiB/second! The duration of the above rsync command is also in the order of 2 minutes. I've been experiencing this slowness over the last 5 months, and know of no changes to the server at all - other clients (windows XP) do not have this slowness problem. I've tried 3 different cables, two different switch ports on one switch, one port on a second switch (to which the server is also directly connected to, all produce the same slow file copy result. So it appears to be a debian configuration problem on my part. Any help appreciated, Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnsso2n1piz-rvlwq0l4ypdp5+7cx0ex9qzwzyugxkcj...@mail.gmail.com
Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link
PS, Running samba version 3.blah older version (standard package) not samba4. Although I think it's just cifs-utils that's needed anyway. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnsronw89jsk1lfwg19ssysdi8-ntjwncdjgjvskdacu...@mail.gmail.com
Re: Re: bash-Script und copy auf Samba-Mount
arrhgh! -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
RES: Samba + Mount + Windows
Verifique se pelo lado do samba voce tem direito de escrita ao compartilhamento. Se o compartilhamento não esta com a opcao read-only = yes setada Sds, Anderson -Mensagem original- De: Rafael Ferreira [mailto:[EMAIL PROTECTED] Enviada em: sábado, 7 de agosto de 2004 12:38 Para: Pr0glnx; debian-user-portuguese@lists.debian.org Assunto: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004
Re: Samba + Mount + Windows
PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!?New and Improved Yahoo! Mail - 100MB free storage! ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004
Re: Samba + Mount + Windows
Desculpa, mas eu coloquei a linha errada!!! Uma coisa q eu observei.. ANTES de montar o diretório ele estava assim: drwxrwxrwx 2 root root 1024 Aug 6 16:47 Share Talita:/mnt# mount -t smbfs -o uid=ceara,mode=,username=ceara,password=** //Laddy/Share /mnt/Share DEPOIS de montar o diretóriodrwxr-xr-x 1 ceara root 4096 Aug 7 09:50 Share Alguem sabe o pq??? ps: Config do Samba # [global]workgroup = LANnetbios name = Thalitaserver string = Samba Servsecurity = SHAREencrypt passwords = Yeslog file = /var/log/samba/log.%mmax log size = 50socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192printcap name = lpstatos level = 10domain master = Falsedns proxy = Nohosts allow = 192.168.printing = cups#writable = yes # isso eu coloquei de teste mas não mudou nada! [Sharez]path = /mnt/Sharecomment = UPLOAD HERE - Diretorio OPENwritable = yespublic = yesguest ok = yes - Original Message - From: Rafael Ferreira To: Pr0glnx ; debian-user-portuguese@lists.debian.org Sent: Saturday, August 07, 2004 12:38 PM Subject: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!?New and Improved Yahoo! Mail - 100MB free storage! ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004
RES: Samba + Mount + Windows
Meu amigo, boa tarde, Troque o proprietário do diretório compartilhado para o user ceara ou para o grupo com permissão de escrita com o comando chown para o proprietário ou chgrp para o grupo. Para mais detalhes use man chow. Vai funcionar !! Abraço. Guilherme Rocha Analista de Sistemas www.sulsolucoes.com.br + 55 (71) 334 0843 De: Rafael Ferreira [mailto:[EMAIL PROTECTED] Enviada em: sábado, 7 de agosto de 2004 12:38 Para: Pr0glnx; debian-user-portuguese@lists.debian.org Assunto: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004 -- Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus. Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br). Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 ? Data de Lançamento: 4/8/2004 -- Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus. Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br). Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 Data de Lançamento: 4/8/2004
RES: Samba + Mount + Windows
É bom trocar o grupo do diretório mesmo assim o grupo root pode abrir uma brecha de segurança O diretório poderia ficar assim Drwxrwxrwx 2 ceara grupo %date% De: Rafael Ferreira [mailto:[EMAIL PROTECTED] Enviada em: sábado, 7 de agosto de 2004 13:01 Para: Pr0glnx; debian-user-portuguese@lists.debian.org Assunto: Re: Samba + Mount + Windows Desculpa, mas eu coloquei a linha errada!!! Uma coisa q eu observei.. ANTES de montar o diretório ele estava assim: drwxrwxrwx 2 root root 1024 Aug 6 16:47 Share Talita:/mnt# mount -t smbfs -o uid=ceara,mode=,username=ceara,password=** //Laddy/Share /mnt/Share DEPOIS de montar o diretório drwxr-xr-x 1 ceara root 4096 Aug 7 09:50 Share Alguem sabe o pq??? ps: Config do Samba # [global] workgroup = LAN netbios name = Thalita server string = Samba Serv security = SHARE encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat os level = 10 domain master = False dns proxy = No hosts allow = 192.168. printing = cups #writable = yes # isso eu coloquei de teste mas não mudou nada! [Sharez] path = /mnt/Share comment = UPLOAD HERE - Diretorio OPEN writable = yes public = yes guest ok = yes - Original Message - From: Rafael Ferreira To: Pr0glnx ; debian-user-portuguese@lists.debian.org Sent: Saturday, August 07, 2004 12:38 PM Subject: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004 -- Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus. Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br). Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 ? Data de Lançamento: 4/8/2004 -- Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus. Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br). Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 Data de Lançamento: 4/8/2004
Re: Samba + Mount + Windows
Cara... Desculpa abusar... Mas vc pode mandar mais detalhes de como fazer isso!??! valeu! - Original Message - From: Guilherme Rocha To: 'Rafael Ferreira' ; 'Pr0glnx' ; debian-user-portuguese@lists.debian.org Sent: Saturday, August 07, 2004 1:14 PM Subject: RES: Samba + Mount + Windows Meu amigo, boa tarde, Troque o proprietário do diretório compartilhado para o user ceara ou para o grupo com permissão de escrita com o comando chown para o proprietário ou chgrp para o grupo. Para mais detalhes use man chow. Vai funcionar !! Abraço. Guilherme Rocha Analista de Sistemas www.sulsolucoes.com.br + 55 (71) 334 0843 De: Rafael Ferreira [mailto:[EMAIL PROTECTED] Enviada em: sábado, 7 de agosto de 2004 12:38Para: Pr0glnx; debian-user-portuguese@lists.debian.orgAssunto: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!?New and Improved Yahoo! Mail - 100MB free storage! ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004 --Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus.Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br).Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 ? Data de Lançamento: 4/8/2004 --Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus.Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br).Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 Data de Lançamento: 4/8/2004
Re: Samba + Mount + Windows
Eu consegui fazer isso só com o diretório desmontado.. Quando eu monto ele não fica mais como eu deixei!! Tem como eu montar ele já com essa opção?? estou tentando montar com essas opções!! mount -t smbfs -o uid=ceara,mode=,username=ceara,password=12345 //Laddy/Share /mnt/Share smbmount //Laddy/Share /mnt/Share -o username=ceara,password=12345,uid=ceara Ambas ficam iguais!! E NÃO ESCREVE NISSO!!! - Original Message - From: Guilherme Rocha To: 'Rafael Ferreira' ; 'Pr0glnx' ; debian-user-portuguese@lists.debian.org Sent: Saturday, August 07, 2004 1:17 PM Subject: RES: Samba + Mount + Windows É bom trocar o grupo do diretório mesmo assim o grupo root pode abrir uma brecha de segurança O diretório poderia ficar assim Drwxrwxrwx 2 ceara grupo %date% De: Rafael Ferreira [mailto:[EMAIL PROTECTED] Enviada em: sábado, 7 de agosto de 2004 13:01Para: Pr0glnx; debian-user-portuguese@lists.debian.orgAssunto: Re: Samba + Mount + Windows Desculpa, mas eu coloquei a linha errada!!! Uma coisa q eu observei.. ANTES de montar o diretório ele estava assim: drwxrwxrwx 2 root root 1024 Aug 6 16:47 Share Talita:/mnt# mount -t smbfs -o uid=ceara,mode=,username=ceara,password=** //Laddy/Share /mnt/Share DEPOIS de montar o diretóriodrwxr-xr-x 1 ceara root 4096 Aug 7 09:50 Share Alguem sabe o pq??? ps: Config do Samba # [global]workgroup = LANnetbios name = Thalitaserver string = Samba Servsecurity = SHAREencrypt passwords = Yeslog file = /var/log/samba/log.%mmax log size = 50socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192printcap name = lpstatos level = 10domain master = Falsedns proxy = Nohosts allow = 192.168.printing = cups#writable = yes # isso eu coloquei de teste mas não mudou nada! [Sharez]path = /mnt/Sharecomment = UPLOAD HERE - Diretorio OPENwritable = yespublic = yesguest ok = yes - Original Message - From: Rafael Ferreira To: Pr0glnx ; debian-user-portuguese@lists.debian.org Sent: Saturday, August 07, 2004 12:38 PM Subject: Re: Samba + Mount + Windows PrOglnx Valeu pela tentativa, mas o erro de escrita persiste montei com a linha: mount -t smbfs -o uid=ceara,username=ceara,password=123456 //Laddy/Share /mnt/Share Mas ainda não consegui acesso ao escrita pelo através do samba... Pelo linux direto eu consigo escrever.. Alguem ajuda!! - Original Message - From: Pr0glnx To: debian-user-portuguese@lists.debian.org Sent: Friday, August 06, 2004 10:02 PM Subject: Re: Samba + Mount + Windows Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!?New and Improved Yahoo! Mail - 100MB free storage! ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.732 / Virus Database: 486 - Release Date: 29/7/2004 --Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus.Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br).Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 ? Data de Lançamento: 4/8/2004 --Este e-mail foi verificado pelo servidor antivirus da Sul Soluções. O seu conteudo esta livre de virus.Verificado por AVG Anti-Vírus (http://www.avgbrasil.com.br).Versão: 7.0.261 / Banco de dados de Vírus: 264.3.0 Data de Lançamento: 4/8/2004
Samba + Mount + Windows
Galera... Estou tentando fazer um share aqui mas está muito complicado!!! Não achei solução... Tenho 2 computadores 1 - Windows 1 - Linux (servidor) Estou querendo compartilhar pelo servidor através do samba os diretórios que tenho no windows: Passos: 1. Compartilhei meus diretórios no windows para 1 usuário 2. Criei as respectivas pastas no servidor(linux) 3. Montei as pastas, exemplo do mount (mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share) 4. Fui no samba e compartilhei o diretório Até aí tudo 100% tudo bem... Mas em partes para leitura tudo bem!!! Tudo certinho.. Mas o único diretório que eu estou tentando habilitar para escrita está impossível O diretório em questão é o SHARE.. No windows ele está compartilhado para TODOS usuários e full escrita/leitura No linux ele está com: chmod 777 /mnt/Share No samba ele está abilitado para escrita: [Sharez]path = /mnt/Sharecomment = UPLOAD HERE! writable = yespublic = yesguest ok = yes#read >#PARTE QUE PERMITE A ESCRITA NESSE DIR#create mask = 0700#directory mask = 0700#create mode = 0775create mode = 0700 Tem 1 monte de coisas comentadas pq eu fiz 1 monte de tentativas.. Mas não consegui. Queria uma ajuda do povo.. Não sei onde estou errando!!! Desculpem se ficou complicado de entender!! abraço Ceará ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.732 / Virus Database: 486 - Release Date: 30/7/2004
Re: Samba + Mount + Windows
Que tal assim: mount -o mode= ;-) mount -t smbfs -o username=ceara,password= //Laddy/Share /mnt/Share Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: mv: permissions warning with samba mount
On Thu, Jan 22, 2004 at 08:52:58PM +, Pigeon wrote: | On Thu, Jan 22, 2004 at 12:15:31PM -0500, Derrick 'dman' Hudson wrote: | I have a shell script on one debian system here to back up certain | portions of the filesystem. It simply tars up the directories and | moves the tar file to a samba share which is backed up by some already | in-place windows software. | | The problem is that mv is too noisy : | mv: failed to preserve ownership for `/mnt/red1/Builds/cvsbackup/CVS-Backup-2004-01-21.tar.gz': Operation not permitted | | This is a problem because I then become conditioned to ignore emails | from cron assuming they only contain this non-problem. However, | sometimes there is a real problem and I need to know about it. | Therefore, I want this particular error message to not be reported, | however I want other errors (for example No space left on device) to | go to stderr. When this script is run, stdout is sent to a log file | and stderr (if any) is sent to me via mail. | | Any suggestions? | | Well, AFAIK mv never prints anything on stdout, so perhaps: | | mv from-name to-name 21 | grep -v 'failed to preserve ownership' 12 This is what I did, and it seems to be working. Thanks :-). -D -- Even youths grow tired and weary, and young men stumble and fall; but those who hope in the Lord will renew their strength. They will soar on wings like eagles; they will run and not grow weary, they will walk and not be faint. Isaiah 40:31 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: mv: permissions warning with samba mount
On Thu, Jan 22, 2004 at 06:34:51PM +0100, Andreas Janssen wrote: | Derrick 'dman' Hudson ([EMAIL PROTECTED]) wrote: | I have a shell script on one debian system here to back up certain | portions of the filesystem. It simply tars up the directories and | moves the tar file to a samba share which is backed up by some already | in-place windows software. | | The problem is that mv is too noisy : | mv: failed to preserve ownership for | `/mnt/red1/Builds/cvsbackup/CVS-Backup-2004-01-21.tar.gz': | Operation not permitted | | This is a problem because I then become conditioned to ignore emails | from cron assuming they only contain this non-problem. However, | sometimes there is a real problem and I need to know about it. | Therefore, I want this particular error message to not be reported, | however I want other errors (for example No space left on device) to | go to stderr. When this script is run, stdout is sent to a log file | and stderr (if any) is sent to me via mail. | | Any suggestions? | | Wouldn't the easiest way be to set the ownership of the file to that of | the Samba mount before moving it? That sounds like a plausible solution. -D -- The Consultant's Curse: When the customer has beaten upon you long enough, give him what he asks for, instead of what he needs. This is very strong medicine, and is normally only required once. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
mv: permissions warning with samba mount
I have a shell script on one debian system here to back up certain portions of the filesystem. It simply tars up the directories and moves the tar file to a samba share which is backed up by some already in-place windows software. The problem is that mv is too noisy : mv: failed to preserve ownership for `/mnt/red1/Builds/cvsbackup/CVS-Backup-2004-01-21.tar.gz': Operation not permitted This is a problem because I then become conditioned to ignore emails from cron assuming they only contain this non-problem. However, sometimes there is a real problem and I need to know about it. Therefore, I want this particular error message to not be reported, however I want other errors (for example No space left on device) to go to stderr. When this script is run, stdout is sent to a log file and stderr (if any) is sent to me via mail. Any suggestions? Hmm, I suppose I could code the logging in the script itself rather than using shell redirection in the cron job and then let errors just go to stdout. -D -- ...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver. --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: mv: permissions warning with samba mount
Hello Derrick 'dman' Hudson ([EMAIL PROTECTED]) wrote: I have a shell script on one debian system here to back up certain portions of the filesystem. It simply tars up the directories and moves the tar file to a samba share which is backed up by some already in-place windows software. The problem is that mv is too noisy : mv: failed to preserve ownership for `/mnt/red1/Builds/cvsbackup/CVS-Backup-2004-01-21.tar.gz': Operation not permitted This is a problem because I then become conditioned to ignore emails from cron assuming they only contain this non-problem. However, sometimes there is a real problem and I need to know about it. Therefore, I want this particular error message to not be reported, however I want other errors (for example No space left on device) to go to stderr. When this script is run, stdout is sent to a log file and stderr (if any) is sent to me via mail. Any suggestions? Wouldn't the easiest way be to set the ownership of the file to that of the Samba mount before moving it? best regards Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mv: permissions warning with samba mount
On Thu, Jan 22, 2004 at 12:15:31PM -0500, Derrick 'dman' Hudson wrote: I have a shell script on one debian system here to back up certain portions of the filesystem. It simply tars up the directories and moves the tar file to a samba share which is backed up by some already in-place windows software. The problem is that mv is too noisy : mv: failed to preserve ownership for `/mnt/red1/Builds/cvsbackup/CVS-Backup-2004-01-21.tar.gz': Operation not permitted This is a problem because I then become conditioned to ignore emails from cron assuming they only contain this non-problem. However, sometimes there is a real problem and I need to know about it. Therefore, I want this particular error message to not be reported, however I want other errors (for example No space left on device) to go to stderr. When this script is run, stdout is sent to a log file and stderr (if any) is sent to me via mail. Any suggestions? Well, AFAIK mv never prints anything on stdout, so perhaps: mv from-name to-name 21 | grep -v 'failed to preserve ownership' 12 -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F pgp0.pgp Description: PGP signature
Re: Samba-mount, df und timeout
Moin Peter Peter Blancke wrote: Am 11.01.2003 10:11:55, Ruediger Noack schrieb: Ich mounte gelegentlich ein paar FS von win-Kisten per smbmount. Kein Problem soweit. Störend ist allerdings die Situation, wenn die Kisten nicht mehr laufen, ich jedoch kein umount ausgeführt hatte und dann z.B. df ausführe. Es dauert ewig, bis der timeout wirkt. :-( Das ewig meinst Du hoffentlich wirklich so. Ich stelle fest, dass es ueberhaupt keinen Timeout gibt. Ich kann mich in einem konkret vorliegenden Fall nur noch -- Windows-like -- mit einem Neustart der Maschinerie behelfen. Bedauerlich! So schlimm ist es bei mir nicht - zum Glück. :-) Wirklich bewusst geworden ist mir das Problem erst, als ich mein bisher manuell ausgeführtes Script zum Sichern meiner User-Daten als tar-Archiv auf die lokale HD als shutdown-Script integriert habe und sich dabei die Zeit bis zum Abschalten so sehr verzögerte, dass es sich nicht durch die reine Sicherungslaufzeit erklären ließ. Ewig bedeutet (ganz grob geschätzt) 15-30 Minuten. Als ich in einer shell mal auf so eine Situation gelaufen bin, ließ sich die zugehörige shell (oder login-shell?) auch killen. AFAIK nein. Ob da nun autogemountet wird oder haendisch -- das Problem bleibt. Schade eigentlich. :-( Mein Sicherungs-Script kann ich ja angemessen anpassen, ich hatte aber gehofft eine generelle Lösung zu finden. -- Gruß Rüdiger __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount, df und timeout
Am 11.01.2003 10:11:55, Ruediger Noack schrieb: Ich mounte gelegentlich ein paar FS von win-Kisten per smbmount. Kein Problem soweit. Störend ist allerdings die Situation, wenn die Kisten nicht mehr laufen, ich jedoch kein umount ausgeführt hatte und dann z.B. df ausführe. Es dauert ewig, bis der timeout wirkt. :-( Das ewig meinst Du hoffentlich wirklich so. Ich stelle fest, dass es ueberhaupt keinen Timeout gibt. Ich kann mich in einem konkret vorliegenden Fall nur noch -- Windows-like -- mit einem Neustart der Maschinerie behelfen. Bedauerlich! Wäre evtl. der automounter ein Ansatz? AFAIK nein. Ob da nun autogemountet wird oder haendisch -- das Problem bleibt. Gruss Peter Blancke -- Nachtwaechter ist der Wahnsinn, weil er wacht... -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Samba-mount, df und timeout
Moin allerseits Ich mounte gelegentlich ein paar FS von win-Kisten per smbmount. Kein Problem soweit. Störend ist allerdings die Situation, wenn die Kisten nicht mehr laufen, ich jedoch kein umount ausgeführt hatte und dann z.B. df ausführe. Es dauert ewig, bis der timeout wirkt. :-( Lässt sich das irgendwie besser konfigurieren bzw. gibts einen workaround? Wäre evtl. der automounter ein Ansatz? Jemand praktische Erfahrungen damit und smbmount und sagen seine Erfahrungen, dass mir das helfen würde. Gruß von der zufrierenden Küste Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
Hallo Ruediger, Ruediger Noack wrote: Frank Dietrich wrote: Wieso sollte es kein noauto geben? Geht hier ohne Probleme. Jetzt machst Du mach ganz irre. ;-) Nene, das täuscht. ;-) Ich hatte auch mal noauto gedankenlos in die /etc/fstab geschrieben und bekomme immer eine Fehlermeldung beim Booten. Falls die Win-Kisten zufällig gerade up sind, wird auch ein automount versucht. Könnte evtl. damit zusammenhängen, dass Du autofs oder einen anderen auto mounter benutzt. Dann liegt das aber nicht am smbfs sondern am auto mounter. Vielleicht hängt das ja mit diesem (mir unbekannten noatime) zusammen? Das glaube ich eher nicht, noatime ist dafür gedacht die Zugriffzeit auf eine Datei nicht zu aktualisieren. Macht meiner Meinung nach nur Sinn, wenn die SMB Freigabe auf einer NTFS Partition liegt. Nutzt Du woody? Ja ohne unstable oder testing Anteile. Falls es noch interessant ist die Version meines smbclient ist 2.2.3a-12. mit netten Wochenanfangsgrüssen Frank -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Samba-mount und /etc/fstab
Moin Ich mounte gelegentlich einige FAT-Partitionen an meine woody-Kiste. Rein technisch ist auch alles gut. :-) Allerdings möchte ich das gern komfortabel (mount dir) tun, also in die /etc/fstab eintragen, aber da gibt es ein Problemchen: Es gibt für smbfs nicht die Option noauto oder ähnliches, außerdem müsste, wenn schon auto, das Passwort dort eingetragen werden, sonst hängt der Boot-Vorgang. Das möchte ich nun gar nicht. (Davon abgesehen, dass die man page nicht stimmt! Da wird auf die nfs-mount-Optionen verwiesen, aber die Option soft ist trotzdem nicht erlaubt.) Gibt es da eine Lösung _ohne_ ein eigenes mount-Script zu schreiben.[1] Gruß Rüdiger [1] Ja ich weiß, das ist kein Akt, aber ich suche immer erst soundso vorhandene Möglichkeiten. -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
Am Samstag, 30. November 2002 20:52 schrieb Ruediger Noack: Moin Ich mounte gelegentlich einige FAT-Partitionen an meine woody-Kiste. Rein technisch ist auch alles gut. :-) Allerdings möchte ich das gern komfortabel (mount dir) tun, also in die /etc/fstab eintragen, aber da gibt es ein Problemchen: Es gibt für smbfs nicht die Option noauto oder ähnliches, außerdem müsste, wenn schon auto, das Passwort dort eingetragen werden, sonst hängt der Boot-Vorgang. Das möchte ich nun gar nicht. (Davon abgesehen, dass die man page nicht stimmt! Da wird auf die nfs-mount-Optionen verwiesen, aber die Option soft ist trotzdem nicht erlaubt.) Gibt es da eine Lösung _ohne_ ein eigenes mount-Script zu schreiben.[1] Gruß Rüdiger [1] Ja ich weiß, das ist kein Akt, aber ich suche immer erst soundso vorhandene Möglichkeiten. Hi Rüdiger, Ja! Dir scheint das lesen von man pages leicht von den Augen zu gehen: probiere mal: man smbmount möglicherweise stehen hier die gesuchten Hinweise, da bei fstype=vfat oä. in der /etc/fstab ein smbmount durchgeführt wird. Tschüss Dirk -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
Moin Dirk Dirk Wernien wrote: Dir scheint das lesen von man pages leicht von den Augen zu gehen: Hmmm, stimmt. Mein Anlaufpunkt für mount bzw. /etc/fstab ist erst einmal man mount und dort habe ich zwar oft, aber sehr schlampig gelesen. :-( Vor allem das Just like nfs bei den mount-Optionen zu smb jedesmal falsch interpretiert. probiere mal: man smbmount Bringt mich leider auch nicht weiter. Ich will ja nicht das Passwort nur besser verstecken, sondern gar nicht speichern. Und aus diesem Dilemma, alle mount-Optionen ohne Passwort in der /etc/fstab abzulegen ohne dass beim Booten versucht wird, automatisch zu mounten, komme ich irgendwie nicht heraus. :-( Danke von/aus ernoHL Gruß Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
Hi Ruediger ... probiere mal: man smbmount Bringt mich leider auch nicht weiter. Ich will ja nicht das Passwort nur besser verstecken, sondern gar nicht speichern. Und aus diesem Dilemma, alle mount-Optionen ohne Passwort in der /etc/fstab abzulegen ohne dass beim Booten versucht wird, automatisch zu mounten, komme ich irgendwie nicht heraus. :-( bei mir habe ich autofs eingerichtet um auf die Windowsfreigaben im Netz zuzugreifen. Da mußt du das Passwort zwar immer noch speichern, aber beim Booten wird nicht mehr automatisch gemountet. Eine weitere Möglichkeit wäre gnomba, eine grafische Oberfläche für das zum Samba-Paket gehörende Programm smbclient. Dies entspricht in etwa der von Windows bekannten Netzwerkumgebung ( http://gnomba.darkcorner.net/ ). Danke von/aus ernoHL Gruß Rüdiger Viel Erfolg Christian -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
bei mir habe ich autofs eingerichtet um auf die Windowsfreigaben im Netz zuzugreifen. Da mußt du das Passwort zwar immer noch speichern, aber beim Booten wird nicht mehr automatisch gemountet. Eine weitere Möglichkeit wäre gnomba, eine grafische Oberfläche für das zum Samba-Paket gehörende Programm smbclient. Dies entspricht in etwa der von Windows bekannten Netzwerkumgebung ( http://gnomba.darkcorner.net/ ). Tschuldigung, die Url war falsch. http://sourceforge.net/projects/gnomba/ Danke von/aus ernoHL Gruß Rüdiger Viel Erfolg Christian -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-mount und /etc/fstab
Ruediger Noack schrieb: Dilemma, alle mount-Optionen ohne Passwort in der /etc/fstab abzulegen ohne dass beim Booten versucht wird, automatisch zu mounten, komme ich irgendwie nicht heraus. :-( Verstehe ich es richtig, dass Du dann später manuell mounten und dabei das Passwort händisch angeben möchtest? Dazu reicht ein Skript mit dem passenden Mount-Aufruf in /root/bin oder /usr/local/sbin abgelegt. -- [EMAIL PROTECTED] -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: bash-Script und copy auf Samba-Mount
On 02.Nov 2002 - 23:39:20, Ruediger Noack wrote: Moin, mangels besserer derzeitiger Möglichkeiten sichere ich zurzeit einiges auf ein per Samba gemountetes FAT32-File-Filesystem. Dabei möchte ich gern Dateieigenschaften möglichst behalten, also mindestens time of last modification. Deshalb kopiere ich per cp -p. Dass ich dabei angemeckert werde mit: cp: preserving ownership for ist verständlich und damit kann ich leben. Dies bewirkt aber auch, dass ich einen exitcode != 0 erhalte. Das widerum ist für ein vernünftiges Script nicht brauchbar. Hat jemand einen Tipp, wie ich meine Dateien besser kopiere? Wenn du die Daten wirklich nur sichern willst, so daß bei einem Schadensfall diese wiederhergestellt werden können, würde ich dir tar mit bz2 oder gz empfehlen. Dabei werden auch die Eigentümer und ähnliches mit gespeichert und du kannst auch unter Windows mittels gzip die Daten einsehen. Andreas -- Joey, ich hasse Dich, jetzt weiß ich nicht mehr was ich wollte *hmpf* -- Blinder #Debian.DE msg23592/pgp0.pgp Description: PGP signature
Re: bash-Script und copy auf Samba-Mount
Andreas Pakulat wrote: Wenn du die Daten wirklich nur sichern willst, so daß bei einem Schadensfall diese wiederhergestellt werden können, würde ich dir tar mit bz2 oder gz empfehlen. Dabei werden auch die Eigentümer und ähnliches mit gespeichert und du kannst auch unter Windows mittels gzip die Daten einsehen. Ich danke Euch für die Hinweise. Ich werde das beste daraus machen. :-) Kurz zur Erklärung: Diese Dateien, die ich kopieren will, sind selbst schon Sicherungen (tar und bz2). Da dieser Desktop nur eine HD hat, liegen sie aber durch die regelmäßige Sicherung auf der gleichen Platte wie die Originaldaten. Schützt natürlich nicht vor Hardwareausfällen. Ein 2. (Win-) Rechner läuft seltener. Immer wenn er läuft, soll dieses Script (über cron) die aktuellen Archive auf den anderen Rechner schaufeln. Dient alles nur dazu, dass Murphy von vornherein die Finger von meiner Kiste lässt. ;-) Gruß Rüdiger __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
bash-Script und copy auf Samba-Mount
Moin, mangels besserer derzeitiger Möglichkeiten sichere ich zurzeit einiges auf ein per Samba gemountetes FAT32-File-Filesystem. Dabei möchte ich gern Dateieigenschaften möglichst behalten, also mindestens time of last modification. Deshalb kopiere ich per cp -p. Dass ich dabei angemeckert werde mit: cp: preserving ownership for ist verständlich und damit kann ich leben. Dies bewirkt aber auch, dass ich einen exitcode != 0 erhalte. Das widerum ist für ein vernünftiges Script nicht brauchbar. Hat jemand einen Tipp, wie ich meine Dateien besser kopiere? Gruß Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: bash-Script und copy auf Samba-Mount
Am Sam, 2002-11-02 um 23.39 schrieb Ruediger Noack: Moin, mangels besserer derzeitiger Möglichkeiten sichere ich zurzeit einiges auf ein per Samba gemountetes FAT32-File-Filesystem. Dabei möchte ich gern Dateieigenschaften möglichst behalten, also mindestens time of last modification. Deshalb kopiere ich per cp -p. Dass ich dabei angemeckert werde mit: cp: preserving ownership for ist verständlich und damit kann ich leben. Dies bewirkt aber auch, dass ich einen exitcode != 0 erhalte. Das widerum ist für ein vernünftiges Script nicht brauchbar. Hat jemand einen Tipp, wie ich meine Dateien besser kopiere? Wenn es unbedingt eine FAT32-Partition sein muss, und Du hast genug Platz darauf, dann kannst Du eine Datei darauf erstellen und mittles loop als Virtuelle Festplatte einhängen. Diese Platte kann dann jedes beliebige FS haben (z.B. ext2 bietet sich an), und damit bleiben alle Permissions erhalten. Die Platte verhält sich wie eine normale Linux-Partition. -- Matthias Hentges [www.hentges.net] - PGP + HTML are welcome ICQ: 97 26 97 4 - No files, no URLs My OS: Debian Woody: Geek by Nature, Linux by Choice -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: bash-Script und copy auf Samba-Mount
Hallo Rüdiger On Sat, Nov 02, 2002 at 11:39:20PM +0100, Ruediger Noack wrote: Moin, mangels besserer derzeitiger Möglichkeiten sichere ich zurzeit einiges auf ein per Samba gemountetes FAT32-File-Filesystem. Dabei möchte ich gern Dateieigenschaften möglichst behalten, also mindestens time of last modification. Deshalb kopiere ich per cp -p. Dass ich dabei angemeckert werde mit: cp: preserving ownership for ist verständlich und damit kann ich leben. Dies bewirkt aber auch, dass ich einen exitcode != 0 erhalte. Das widerum ist für ein vernünftiges Script nicht brauchbar. Hat jemand einen Tipp, wie ich meine Dateien besser kopiere? Ich habe gerade mal ein paar Versuche mit cpio durchgeführt vielleicht hieft dir ja cd VERZEICHNES_IN_DEM_DEINEDATEI_SICH_BEFINDET echo DEINEDATEI | cpio -pm DEINFATVERZEICHNISS 2 /dev/null Ich habs auch mal als Skript probiert, Intressant könnten auch cpio -dpm und statt cd und echo kannst Du find oder so verwenden. Gruß Kurt -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Samba mount and lots of files
I ran into a funny one today. If I mount a share a on a Windows 2000 server, with mount -t smbfs, it mounts successfully. Except that I can only see 380 of the files in the share. There are over 8000 files in there! If I use smbclient, I can see them all. So what's wrong with smbmount? (I'm running newest samba from unstable). -- Danie Roux *shuffle* Adore Unix
Samba mount and lots of files
I ran into a funny one today. If I mount a share a on a Windows 2000 server, with mount -t smbfs, it mounts successfully. Except that I can only see 380 of the files in the share. There are over 8000 files in there! If I use smbclient, I can see them all. So what's wrong with smbmount? (I'm running newest samba from unstable). -- Danie Roux *shuffle* Adore Unix
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
Dirk Eddelbuettel [EMAIL PROTECTED] writes: At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? I don't know what kind of access you are looking for, but I've had no problems at all accessing my colleagues' shares on their Win9x boxes with smbclient. You might want to give it a try. -- Olaf Meeuwissen Epson Kowa Corporation, Research and Development
[Q] Can Samba mount 'shared' (not 'served') Win drives ?
This might be a trivial questions with a quick No! as the answer ... At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? CC's welcome as I am not currently subscribed here... Thanks, Dirk -- According to the latest figures, 43% of all statistics are totally worthless.
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
A long time ago, in a galaxy far, far way, someone said... This might be a trivial questions with a quick No! as the answer ... At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? mount -t smbfs //server/share /mountpoint -o username=username,password=password,uid=uid to have write access That should all be one line, of course. -- -- Phil Brutsche [EMAIL PROTECTED] There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe. - Albert Einstien
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
On Fri, Aug 04, 2000 at 08:44:01AM -0500, Phil Brutsche wrote: A long time ago, in a galaxy far, far way, someone said... At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? mount -t smbfs //server/share /mountpoint -o username=username,password=password,uid=uid to have write access That should all be one line, of course. Yes, as I wrote, that works fine for NT servers providing a share. I use that with the corresponding entry in /etc/fstab so that I can simply say mount /mountpoint and the rest happens automatically. I now would like to access the C:\ I declared as 'shared' on my desktop. I can't figure out what that would be. Whatever I try yields 'session request to DESKTOP failed'. Any idea? -- According to the latest figures, 43% of all statistics are totally worthless.
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
Dirk Eddelbuettel wrote: On Fri, Aug 04, 2000 at 08:44:01AM -0500, Phil Brutsche wrote: A long time ago, in a galaxy far, far way, someone said... At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? mount -t smbfs //server/share /mountpoint -o username=username,password=password,uid=uid to have write access That should all be one line, of course. Yes, as I wrote, that works fine for NT servers providing a share. I use that with the corresponding entry in /etc/fstab so that I can simply say mount /mountpoint and the rest happens automatically. I now would like to access the C:\ I declared as 'shared' on my desktop. I can't figure out what that would be. Whatever I try yields 'session request to DESKTOP failed'. Any idea? You said you would like to access the C:\ I declared as 'shared' on my desktop. By desktop, do you mean your workstation computer, or do you mean your Windows Desktop (shell program)? If the latter, you can't mean C:\, yet the error message that you mention indicates the latter. So, what directory have you shared, C:\ or C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP, and with what permissions? -- Kent West [EMAIL PROTECTED]
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
On Fri, Aug 04, 2000 at 09:58:43AM -0500, Kent West wrote: Dirk Eddelbuettel wrote: Yes, as I wrote, that works fine for NT servers providing a share. I use that with the corresponding entry in /etc/fstab so that I can simply say mount /mountpoint and the rest happens automatically. I now would like to access the C:\ I declared as 'shared' on my desktop. I can't figure out what that would be. Whatever I try yields 'session request to DESKTOP failed'. Any idea? You said you would like to access the C:\ I declared as 'shared' on my desktop. By desktop, do you mean your workstation Yes. computer, or do you mean your Windows Desktop (shell program)? If No, I mean C:\ as the main partition on the 'desktop' computer. the latter, you can't mean C:\, yet the error message that you mention indicates the latter. So, what directory have you shared, C:\ or C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP, and with what permissions? Permissions are read-access for everyone. Can I read those from Linux via Samba? Thanks, Dirk -- According to the latest figures, 43% of all statistics are totally worthless.
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
Dirk Eddelbuettel wrote: On Fri, Aug 04, 2000 at 09:58:43AM -0500, Kent West wrote: Dirk Eddelbuettel wrote: Yes, as I wrote, that works fine for NT servers providing a share. I use that with the corresponding entry in /etc/fstab so that I can simply say mount /mountpoint and the rest happens automatically. I now would like to access the C:\ I declared as 'shared' on my desktop. I can't figure out what that would be. Whatever I try yields 'session request to DESKTOP failed'. Any idea? You said you would like to access the C:\ I declared as 'shared' on my desktop. By desktop, do you mean your workstation Yes. computer, or do you mean your Windows Desktop (shell program)? If No, I mean C:\ as the main partition on the 'desktop' computer. the latter, you can't mean C:\, yet the error message that you mention indicates the latter. So, what directory have you shared, C:\ or C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP, and with what permissions? Permissions are read-access for everyone. Can I read those from Linux via Samba? Thanks, Dirk Yes, you can. I'm not sure what the problem is, but I just did it on my boxen. I'll think about it and get back with you later. Kent [EMAIL PROTECTED]
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
At 11:44 on Aug 4, Dirk Eddelbuettel combined all the right letters to say: No, I mean C:\ as the main partition on the 'desktop' computer. snip Permissions are read-access for everyone. Can I read those from Linux via Samba? What *have* you tried? If you do a `smbmount` (no args) it blah blahs about mounting smbfs stuffs. At the bottom is the snippet that someone posted earlier, mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test Right now, I have the e: drive of the windows box to my left mounted by mount -t smbfs //crackbox/e /mnt/smb/crackbox/ If it were password protected by windows share, I'd do the same thing, let it try to mount it, and then smbmount *asks* me for the password to access the directory. Obviously, I had to create the /mnt/smb/crackbox/ dir, but that's not something out of the ordinary. Do you get any sort of errors or anything? When I've had problems in the past, I know errors were reported back (I can't remember what they were, but I know they were there). -nicole
Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?
Here's a thought - are you attempting to mount \\desktop\c$ as the name of the share? If so, your shell will probably be getting confused by the dollars sign. (For those who don't know, NT W and NT S create shares of c$ and d$ and so on for the root of each drive. The $ stops the share being browseable (to use samba terminology) ) Try creating a new share on the same drive, and call it something else. I think the $ was a bad choice of character on MS part. At 08:25 AM 8/4/00 -0400, you wrote: This might be a trivial questions with a quick No! as the answer ... At work, in a predominantly NT environment, I use Samba to mount drives of the NT servers on the Lan. However, I'd also love to access files on my (vanilla NT 4.0) desktop at work which is set to let other 'share' its files. I tried mounting these from a Linux box but failed. Is there a way to get to these files so that I could access the files from Linux? CC's welcome as I am not currently subscribed here... Thanks, Dirk -- According to the latest figures, 43% of all statistics are totally worthless. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Criggie
Samba Mount
Hello, I tried to mount a windows 98 share, but it just doesn't work! I can get the share list, but when I try to mount, I get a password error! Is there anybody who succeeded mounting a windows share? If so, could he please tell me how he did it? Thanks in advance, Rudy Broersma
Re: Samba Mount
Depending on your samba configuration, you may need to run smbpasswd to set a samba password for the user you're logging into the Windows machine as. On Sat, 7 Aug 1999, Rudy Broersma wrote: Hello, I tried to mount a windows 98 share, but it just doesn't work! I can get the share list, but when I try to mount, I get a password error! Is there anybody who succeeded mounting a windows share? If so, could he please tell me how he did it? Thanks in advance, Rudy Broersma -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null +---++ | Nate Duehr - [EMAIL PROTECTED]| Support Amateur Radio Linux! | | Private Pilot, Telephony Engineer | Ham Callsign: N0NTZ | | UNIX Hack, Perl Hack, Tech-Freak | Grid Square: DM79 | | | May the Source be with you. | +---++ | HamRadio and Linux mailing lists available for interested parties: | |http://www.natetech.com/mailman/listinfo| ++