Új hozzászólás Aktív témák

  • daninet

    veterán

    Szerveremen 3 smb share van, ezeket mountolom cifs segítségével.
    A 3 share-ből egy nem mountol startupnál. De ha már fut a rendszer és beírom sudo mount -a akkor minden ok. Ha más nem akkor csinálok egy bash scriptet ami lefut 2 perccel a gép indítása után. De kell ennek legyen valami szebb verziója is

    //192.168.1.200/Private                     /smb/Private    cifs   credentials=/home/daninet/.smbcredentials,uid=1000,gid=1000,vers=3.0,noserverino,nounix,_netdev,nobrl,x-systemd.automount,x-systemd.requires=network-online.target   0 0
    //192.168.1.200/Work                        /smb/Work       cifs   credentials=/home/daninet/.smbcredentials,uid=1000,gid=1000,vers=3.0,noserverino,nounix,_netdev,nobrl,x-systemd.automount,x-systemd.requires=network-online.target   0 0
    //192.168.1.200/Download                    /smb/Download   cifs   credentials=/home/daninet/.smbcredentials,uid=1000,gid=1000,vers=3.0,noserverino,nounix,_netdev,nobrl,x-systemd.automount,x-systemd.requires=network-online.target   0 0

    Ebből a 3ból az első nem mountol, pedig mostmár hozzáadtam a végére x-systemd.requires=network-online.target

    dmesg tartalma startupnál:
    [   54.577565] CIFS: VFS: cifs_mount failed w/return code = -101
    [   54.640372] CIFS: enabling forceuid mount option implicitly because uid= option is specified
    [   54.640375] CIFS: enabling forcegid mount option implicitly because gid= option is specified

Új hozzászólás Aktív témák