Josh:
Thank's a lot!! Your suggestion work's perfectly! I mounted the share folder with this line: mount -t cifs //192.168.150.142/backup -o username=bacula,password=some_passrw,bg,vers=3,proto=tcp,hard,intr,rsize=32768,wsize=32768,forcedirectio,llock,uid=bacula,gid=root /backup/NAS/ This work's really great! I really apreciate your time and knoweldge!! :-) -------------------------------------------------- From: "Josh Fisher" <jfis...@pvct.com> Sent: Thursday, July 15, 2010 1:57 PM To: "Sebastián Moreno" <smoreno...@gmail.com> Cc: <bacula-users@lists.sourceforge.net> Subject: Re: [Bacula-users] Bacula | NAS200 - Linksys > > On 7/15/2010 12:06 PM, Sebastián Moreno wrote: >> I was mounted the share folder with CIFS, but the folder takes the NAS >> permissions, not the Linux permissions. >> >> When I try to change the owner of the folder with root user the linux box >> says: >> >> Permission denied. > > In the -o options of the mount command, you need to set the uid and gid of > the mount in addition to the user and password. The user and password > options are for authenticating with the NAS. The uid and gid are the owner > and group that Linux will assign to the mounted share. The uid and gid > must be such that Bacula storage daemon has read/write access. > > Something like: mount -t //192.168.0.121/backupdir /mnt/nas -o > rw,user=bacula,password=some-pass,uid=bacula,gid=disk > > Note: For security reasons, you should use the credentials= option instead > of user= and password=. See man 8 mount.cifs. > > >> >> This is my problem >> >> >> :-( >> >> >> -------------------------------------------------- >> From: "Josh Fisher"<jfis...@pvct.com> >> Sent: Thursday, July 15, 2010 12:10 PM >> To:<bacula-users@lists.sourceforge.net> >> Subject: Re: [Bacula-users] Bacula | NAS200 - Linksys >> >>> On 7/15/2010 10:56 AM, Sebastián Moreno wrote: >>>> Hi, >>>> >>>> >>>> Thank's for your quick response..But...I think this NAS don't support >>>> NFS.. >>>> >>>> >>> You would still use it in the same way (just like local disk storage). >>> Just mount using CIFS rather than NFS. >>> >>>> http://www.smallnetbuilder.com/nas/nas-reviews/30127-linksys-nas200-review-low-price-disappointing-performance?showall=&start=1 >>>> >>>> >>>> "The only network file system supported is SMB/CIFS; sorry, no AFP or >>>> NFS. >>>> The 200 won't join an AD or NT domain to get user account information." >>>> >>>> >>>> Official Web: http://www.linksysbycisco.com/EU/es/products/NAS200 >>>> >>>> >>>> Sorry, I made a mistake... it's NAS200 not NAS2000 >>>> >>>> :-) >>>> >>>> >>>> >>>> Best Regards >>>> -------------------------------------------------- >>>> From:<manga...@hotmail.com> >>>> Sent: Thursday, July 15, 2010 11:38 AM >>>> To:<bacula-users@lists.sourceforge.net> >>>> Subject: Re: [Bacula-users] Bacula | NAS2000 - Linksys >>>> >>>>> Hi, >>>>> >>>>> maybe it would be easier to mount the share in NFS (the nas2000 seems >>>>> to >>>>> support it) from debian, and chmod 777 the shared folder. This way you >>>>> can >>>>> use >>>>> it from bacula. >>>>> >>>>> Best regards >>>>> >>>>>> Hi Folks, >>>>>> >>>>>> >>>>>> Good morning/afternoon/night for everyone, I have a fresh install >>>>>> working >>>>>> of Bacula 5.0.1 version on my box (Debian Lenny 5.0.2). I'm trying to >>>>>> mount as Storage a share folder, I have a NAS (NAS2000 - Linksys) On >>>>>> NAS's >>>>>> web interface I can only create a share folder and give user >>>>>> permissions >>>>>> , so I can't enter to the OS. >>>>>> >>>>>> When I mount this share folder on my bacula box I can create folders >>>>>> and >>>>>> everything but I can't give "bacula" or "tape" permissions to make >>>>>> this >>>>>> folder the Storage. >>>>>> >>>>>> >>>>>> This is my line to mount the folder: >>>>>> >>>>>> mount -t cifs //192.168.150.142/backup -o >>>>>> username=bacula,password=some_pass,rw,bg,vers=3,proto=tcp,hard,intr,rsize= >>>>>> 32768,wsize=32768,forcedirectio,llock /backup/NAS/ >>>>>> >>>>>> On my bacula box, when I mount this share folder I see the users >>>>>> "501","502". This users are from NAS.... >>>>>> >>>>>> >>>>>> If you need more info please don't hesitate to ask me!! >>>>>> >>>>>> >>>>>> Thank's a lot!!! >>>>>> >>>>>> >>>>>> >>>>>> PD: Sorry my bad English! I'm from Uruguay! >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> Sebastián Moreno >>>>>> Projects Manager >>>>>> >>>>>> IT BUSINESS Corp. >>>>>> Av. 18 de Julio 1805 5° Piso >>>>>> ( +598-2-4093287 | Mobile: +598-95-356960 >>>>>> >>>>>> Montevideo |Uruguay. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> PPlease consider the impact on the environment before printing >>>>>> this >>>>>> e-mail!! / P Por favor, considere el impacto sobre el medio >>>>>> ambiente >>>>>> antes de imprimir este email!! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> __________ Información de ESET Smart Security, versión de la base de >>>>>> firmas >>>>>> de virus 5281 (20100715) __________ >>>>>> >>>>>> ESET Smart Security ha comprobado este mensaje. >>>>>> >>>>>> http://www.eset.com >>>>> ------------------------------------------------------------------------------ >>>>> This SF.net email is sponsored by Sprint >>>>> What will you do first with EVO, the first 4G phone? >>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>>> _______________________________________________ >>>>> Bacula-users mailing list >>>>> Bacula-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>> >>>>> __________ Información de ESET Smart Security, versión de la base de >>>>> firmas de virus 5281 (20100715) __________ >>>>> >>>>> ESET Smart Security ha comprobado este mensaje. >>>>> >>>>> http://www.eset.com >>>>> >>>>> >>>>> >>>> __________ Información de ESET Smart Security, versión de la base de >>>> firmas de virus 5281 (20100715) __________ >>>> >>>> ESET Smart Security ha comprobado este mensaje. >>>> >>>> http://www.eset.com >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Sprint >>>> What will you do first with EVO, the first 4G phone? >>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>> _______________________________________________ >>>> Bacula-users mailing list >>>> Bacula-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> _______________________________________________ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> __________ Información de ESET Smart Security, versión de la base de >>> firmas de virus 5281 (20100715) __________ >>> >>> ESET Smart Security ha comprobado este mensaje. >>> >>> http://www.eset.com >>> >>> >>> >> __________ Información de ESET Smart Security, versión de la base de >> firmas de virus 5281 (20100715) __________ >> >> ESET Smart Security ha comprobado este mensaje. >> >> http://www.eset.com >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > __________ Información de ESET Smart Security, versión de la base de > firmas de virus 5281 (20100715) __________ > > ESET Smart Security ha comprobado este mensaje. > > http://www.eset.com > > > __________ Información de ESET Smart Security, versión de la base de firmas de virus 5282 (20100715) __________ ESET Smart Security ha comprobado este mensaje. http://www.eset.com ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users