PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Umstieg: Netzlaufwerke mounten



zeromancer1972
14.10.06, 13:37
Hallo!

Der Umstieg von Suse zu Ubuntu ist geschafft - jedenfalls fast. Ich baua nun wieder meine Infrastruktur auf, dazu fehlt mir aber noch die Anbindung an meinen Fileserver. Ich habe mit Suse mit diesem Script hier


#! /bin/sh

mount -t smbfs -o rw -o fmask=777 -o dmask=777 -o gid=users -o username=Administrator,password=*** //192.168.2.105/Transfer /mnt/transfer
mount -t smbfs -o rw -o fmask=777 -o dmask=777 -o gid=users -o username=Administrator,password=*** //192.168.2.105/Media /mnt/media

smbmount //192.168.2.105/mp3-2 /mnt/mp3 -o ro,username=Administrator,password=***
smbmount //192.168.2.105/ISOs /mnt/iso -o ro,username=Administrator,password=***
smbmount //192.168.2.105/photos /mnt/photo -o ro,username=Administrator,password=***
echo "Netzlaufwerke gemountet"

die Freigaben auf dem Server gemountet - das geht jedoch nicht mehr mit Ubuntu.
1. ist smbmount anscheinend nicht vorhanden ("command not found") und auch der mount Befehl selbst schlägt fehl:


mount: wrong fs type, bad option, bad superblock on //192.168.2.105/Transfer,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

mount: wrong fs type, bad option, bad superblock on //192.168.2.105/Media,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

/usr/local/bin/netlw: line 6: smbmount: command not found
/usr/local/bin/netlw: line 7: smbmount: command not found
/usr/local/bin/netlw: line 8: smbmount: command not found


Letzteres kann ich mir ja noch erklären. Was aber ist am Filesystem hier falsch?
Und was kann ich statt smbmount hier verwenden? Es sei gesagt, dass lediglich die ersten beiden Freigaben beschreibbar (FAT32) sind, der Rest ist NTFS, also nur lesbar.

Danke für Eure Hilfe!

derRichard
14.10.06, 13:47
hallo!

du hast kein smbmount installiert. sprich samba-client fehlt.
das musst installieren.
und nimm nicht smbfs her, nimm cifs....

hth,
//richard

zeromancer1972
14.10.06, 14:04
:) Das wars! Es fehlte aber nicht der smbclient, sondern das Paket smbfs - also die Filesysteme.
Nun sagt mir mount beim CIFS allerdings folgendes:


WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.
WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.


Ich kann auch nicht auf die Freigabe zugreifen.

Ich habe dann entsprechend abgeändert:


WARNING: 'file_mode' not expressed in octal.
WARNING: 'dir_mode' not expressed in octal.
WARNING: 'file_mode' not expressed in octal.
WARNING: 'dir_mode' not expressed in octal.


Nun bin ich ein wenig eingerostet: statt 777 in Octal? Oh weh :D Was kommt hier hin?

zeromancer1972
14.10.06, 14:07
Ach ich bin doch doof :D
Ich habe nun einfach aus 777 ein 0777 gemacht - es funzt *freu*

Danke, derRichard! ;)