Mount problem.

Discussion in 'Installation/Configuration' started by edge, Feb 8, 2008.

  1. edge

    edge Active Member Moderator

    Never done this before (all my server drives are on a RAID card), but I now need to mount a new HDD (it's a NTFS formated disk) of a small file server.

    Code:
    fdisk -l
    
    Disk /dev/hda: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1        9777    78533721   83  Linux
    /dev/hda2            9778        9964     1502077+   5  Extended
    /dev/hda5            9778        9964     1502046   82  Linux swap / Solaris
    
    Disk /dev/hdb: 120.0 GB, 120000061440 bytes
    44 heads, 5 sectors/track, 1065341 cylinders
    Units = cylinders of 220 * 512 = 112640 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdb1               1     1065341   117187468    7  HPFS/NTFS
    files:/media#
    
    I would like to mount /dev/hdb, so I use: /dev/hdb /media/store
    When doing so I get the following error: mount: you must specify the filesystem type

    mount -h does not really give me much help on the "filesystem type" problem.

    Anyone here who knows more about this?

    Thank you
     
  2. topdog

    topdog Active Member

    have you tried
    Code:
    mount -t ntfs /dev/hdb1 /media/store
    
     
  3. edge

    edge Active Member Moderator

    Yes that did the trick, and I thank you for that :)

    Now I need to get it to be read/writable, but I guess the -w will take care of that
     
  4. o.meyer

    o.meyer ISPConfig Developer ISPConfig Developer

    Hi,

    please install the ntfs-3g package. Afterwards unmount the drive and mount it as follows:

    mount -t ntfs-3g /dev/hdb1 /media/store

    Best regards,

    Olli
     
  5. topdog

    topdog Active Member

    The kernel module is usually not compiled for write support just read so you should go with ntfs-3g as o.meyer stated.
     

Share This Page