mount external HDD

Sekcia: Hardware a Drivery 06.12.2007 | 01:23
Avatar djway UBUNTU 8.10  Používateľ
Zdravim, mam externy disk WD Passport II 120GB USB 2.5" a mam trocha problem s mount-nutim tohto disku. Tento disk mam rozdeleny na 2 particie (FAT32 a NTFS). Mam Ubuntu 7.04 (mal som aj 7.10 a tam taky problem nebol, tam boli ine :-D). Skusal som aj googlit aj manualne zadavat do fstab a mtab aj Gparted... Momentalne som v takej faze, ze FAT32 sa pripoji aj NTFS, ale na NTFS sa cez nautilus nedostanem (nemam prava), samozrejme z konzoly ako root sa na disk dostanem, skusal som zmenit aj prava, ale bezvyznamne. Viete mi niekto poradit co mam spravit, aby to fungovalo spravne?? Diky. Pozn.: Pred upravami mtab a fstab a Gparted som mal taky problem, ze ked som chcel odpojit disk, som mal v ponuke len vysunut, ono ho vysunulo a hned aj pripojilo naspat (takze som ho musel odpajat cez Gparted alebo manualne...).
    • Re: mount external HDD 06.12.2007 | 01:26
      Avatar djway UBUNTU 8.10  Používateľ
      este jednu vec musim, aj teraz sa neda odpojit disk, da sa len cez konzolu...
      PS: sorry, ze pisem take dlhe eseje....
    • Re: mount external HDD 06.12.2007 | 09:55
      open source   Návštevník
      ako vyzera tvoj /etc/fstab?
      • Re: mount external HDD 06.12.2007 | 10:17
        Avatar djway UBUNTU 8.10  Používateľ
        # /etc/fstab: static file system information.
        #
        # -- This file has been automaticly generated by ntfs-config --
        #
        # <file system> <mount point> <type> <options> <dump> <pass>

        proc /proc proc defaults 0 0
        # Entry for /dev/sda8 :
        UUID=c635d9a1-980b-47cd-8508-7ebd43ed8258 / ext3 defaults,errors=remount-ro 0 1
        # Entry for /dev/sda1 :
        UUID=70D49BB0D49B76D6 /media/sda1 ntfs umask=222,utf8 0 1
        # Entry for /dev/sda5 :
        UUID=4E98699F98698675 /media/sda5 ntfs umask=222,utf8 0 1
        # Entry for /dev/sda6 :
        UUID=42FA8B6CFA8B5B55 /media/sda6 ntfs-3g defaults,locale=en_US.utf8 0 0
        # Entry for /dev/sda7 :
        UUID=90a1e52d-5aef-43aa-86b8-981e7a4073b3 none swap sw 0 0
        /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

        # /etc/mtab
        /dev/sda8 / ext3 rw,errors=remount-ro 0 0
        proc /proc proc rw,noexec,nosuid,nodev 0 0
        /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
        varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
        varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
        procbususb /proc/bus/usb usbfs rw 0 0
        udev /dev tmpfs rw,mode=0755 0 0
        devshm /dev/shm tmpfs rw 0 0
        devpts /dev/pts devpts rw,gid=5,mode=620 0 0
        lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
        /dev/sda1 /media/sda1 ntfs rw,umask=222,utf8 0 0
        /dev/sda5 /media/sda5 ntfs rw,umask=222,utf8 0 0
        /dev/disk/by-uuid/42FA8B6CFA8B5B55 /media/sda6 fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
        binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

        • Re: mount external HDD 06.12.2007 | 10:31
          Avatar srigi   Používateľ
          Odporucam ti prepisat fstab tak aby zaznamy boli uvedene ako device nodes, nie ako UUID. To mozno vyriesi problem s odpajanim. A pristupove prava zase ovlada option umask. Takze so to pre teba prepisal:
          proc /proc proc defaults 0 0
          /dev/sda8 / ext3 defaults,errors=remount-ro 0 1
          /dev/sda1 /media/sda1 ntfs umask=0,utf8 0 1
          /dev/sda5 /media/sda5 ntfs umask=0,utf8 0 1
          /dev/sda6 /media/sda6 ntfs-3g defaults,locale=en_US.utf8 0 0
          /dev/sda7 none swap sw 0 0
          /dev/hda  /media/cdrom0 udf,iso9660 user,noauto 0 0
          • Re: mount external HDD 06.12.2007 | 10:45
            Avatar djway UBUNTU 8.10  Používateľ
            v tom vypise externy disk nie je pripojeny, automaticky ho uz ani nepripoji, ale skusim ho pripojit podla toho co si napisal, zatial diky, este sa ozvem ;)
    • Re: mount external HDD 07.12.2007 | 10:47
      Avatar djway UBUNTU 8.10  Používateľ
      Prosim vas, niekoho, kto by mi vedel poradit ako spravim, aby sa moj externy disk spraval ako USB kluc (ked ho pripojim, tak sa automaticky mountne a ked na neho kliknem pravym tlacitkom a dam unmount, tak sa odpoji). Neviem si s tym uz dat rady. Tu je moj posledny vypis z fstab a mtab. Skusal som rozne parametre, ale fakt neviem...
      Dakujem.

      # /etc/fstab: static file system information.
      #
      # -- This file has been automaticly generated by ntfs-config --
      #
      # <file system> <mount point> <type> <options> <dump> <pass>

      proc /proc proc defaults 0 0
      # Entry for /dev/sda8 :
      UUID=c635d9a1-980b-47cd-8508-7ebd43ed8258 / ext3 defaults,errors=remount-ro 0 1
      # Entry for /dev/sda1 :
      UUID=70D49BB0D49B76D6 /media/sda1 ntfs umask=222,utf8 0 1
      # Entry for /dev/sda5 :
      UUID=4E98699F98698675 /media/sda5 ntfs umask=222,utf8 0 1
      # Entry for /dev/sda6 :
      UUID=42FA8B6CFA8B5B55 /media/sda6 ntfs-3g defaults,locale=en_US.utf8 0 0
      # Entry for /dev/sda7 :
      UUID=90a1e52d-5aef-43aa-86b8-981e7a4073b3 none swap sw 0 0
      /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
      /dev/sdb5 /media/sdb5 ntfs-3g defaults,force 0 0
      /dev/sdb6 /media/sdb6 vfat rw,umask=000,user, 0 0

      #/etc/mtab
      /dev/sda8 / ext3 rw,errors=remount-ro 0 0
      proc /proc proc rw,noexec,nosuid,nodev 0 0
      /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
      varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
      varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
      procbususb /proc/bus/usb usbfs rw 0 0
      udev /dev tmpfs rw,mode=0755 0 0
      devshm /dev/shm tmpfs rw 0 0
      devpts /dev/pts devpts rw,gid=5,mode=620 0 0
      lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
      /dev/sda1 /media/sda1 ntfs rw,umask=222,utf8 0 0
      /dev/sda5 /media/sda5 ntfs rw,umask=222,utf8 0 0
      /dev/disk/by-uuid/42FA8B6CFA8B5B55 /media/sda6 fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
      binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
      /dev/sdb6 /media/sdb6 vfat rw,noexec,nosuid,nodev,umask=000,user=djway 0 0
      /dev/sdb5 /media/sdb5 ntfs rw 0 0
      • Re: mount external HDD 07.12.2007 | 13:35
        Avatar djway UBUNTU 8.10  Používateľ
        preinstaloval som ubuntu, pri instalacii som mal pripojeny ext. disk a nastavil som uz v instalacii jeho pripojenie, moj fstab vizera teraz takto (ale pripajat a odpajat musim ako sudo):

        # /etc/fstab: static file system information.
        #
        # <file system> <mount point> <type> <options> <dump> <pass>
        proc /proc proc defaults 0 0
        # /dev/sda8
        UUID=b7f753fb-5ec6-4c1e-a133-598144f68cf4 / ext3 defaults,errors=remount-ro 0 1
        /dev/sdb6 /media/WDFAT32 vfat defaults,utf8,umask=007,gid=46 0 1
        /dev/sdb5 /media/WDNTFS ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # /dev/sda1
        UUID=70D49BB0D49B76D6 /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # /dev/sda5
        UUID=4E98699F98698675 /media/sda5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # /dev/sda6
        UUID=42FA8B6CFA8B5B55 /media/sda6 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # /dev/sda7
        UUID=90a1e52d-5aef-43aa-86b8-981e7a4073b3 none swap sw 0 0
        /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

        Pozn.: este som nestihol ani ntfs-3g...
      • Re: mount external HDD 08.12.2007 | 19:35
        Avatar djway UBUNTU 8.10  Používateľ
        tento topic uz vizera, ako keby som sa pytal a aj si odpovedal... teraz mi to uz funguje, tak ako som si to predstavoval, az na jednu malickost (velkost), chcel by som este povolit zapis na ntfs disk (sdb5), ale neviem ako, lebo ked tam len dopisem -3g, tak to nefunguje a ked to zapisem ako pri sda6, tak to tiez nejde, tu je opat moj vypis fstab:

        # /etc/fstab: static file system information.
        #
        # -- This file has been automaticly generated by ntfs-config --
        #
        # <file system> <mount point> <type> <options> <dump> <pass>

        proc /proc proc defaults 0 0
        # Entry for /dev/sda8 :
        UUID=b7f753fb-5ec6-4c1e-a133-598144f68cf4 / ext3 defaults,errors=remount-ro 0 1
        # Entry for /dev/sda1 :
        UUID=70D49BB0D49B76D6 /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # Entry for /dev/sda5 :
        UUID=4E98699F98698675 /media/sda5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
        # Entry for /dev/sda6 :
        UUID=42FA8B6CFA8B5B55 /media/sda6 ntfs-3g defaults,locale=en_US.utf8 0 0
        # Entry for /dev/sda7 :
        UUID=90a1e52d-5aef-43aa-86b8-981e7a4073b3 none swap sw 0 0
        /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
        /dev/sdb6 /media/WDFAT32 vfat noauto,rw,user,umask=0000, 0 0
        /dev/sdb5 /media/WDNTFS ntfs noauto,rw,user,umask=0000, 0 0