Mount USB Drive
Hello,
I have connected a USB drive to my Redhat linux server and I am unable to mount. Because it is an NTFS partition I am not able to mount. The version I am using is 2.6.18-128.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux. Can someone help me to install fuse and lib packages? I have no idea which version I should download? Thanks KJ |
You need to install ntfs-3g in order to mount NTFS partitions.
Cheers, Josh |
Quote:
Yes, I know I have to install Ntfs-3g, but now sure which version I should install. Thanks KJ |
what error do you get when you try to mount this drive - could you possibly post a screenshot.
also if you could please run following command (as recommended by corp769] Code:
rpm -qa | grep -i ntfs-3g |
How are you trying to install it? By using either your package manager or rpm's off of the internet, you will want the latest version..................
|
Quote:
I used the below commands mount -t ntfs /dev/sdc1 /mnt/USB mount -t ntfs-3g /dev/sdc1 /mnt/USB/ I get this error message : mount: unknown filesystem type 'ntfs' Thanks KJ |
I think you should have checked for package before installing it.
If it is already installed - you just might want to update it - But even before updating it you should be able to mount if its already installed. Sorry for hassle |
How do I check whether I have already installed or no?
Thanks KJ |
Code:
rpm -qa | grep -i ntfs |
I used the same command and there is no output
|
:) Indeed you dont have required package.
Do you have Red Hat Subscription ? Are you paying Redhat for Support ? If yes - you might want to check redhat support - if installing software from sources other then redhat is going to impact support in anyway http://rpmfind.net/linux/rpm2html/se...submit=Search+... http://www.tuxera.com/community/ntfs-3g-download/ |
I don't have Redhat subscription, no contract.
|
then you could always go to rpmfind.net and search for ntfs-3g and download and install it.
|
You should be able to mount it read only with stock kernel if that is all you need to do.
|
After installing the ntfs-3g packages I get the below error messages
[root@localhost ~]# mount -t ntfs-3g /dev/sdc1 /mnt/USB/ FATAL: Module fuse not found. The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root [root@localhost ~]# modprobe fuse FATAL: Module fuse not found. Can someone help me? |
try installing fuse
yum install -y fuse |
I got the below message
[root@localhost ~]# yum install -y fuse Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Parsing package install arguments Package fuse-2.7.4-8_12.el4.x86_64 installed and not available Nothing to do |
do me a favor please - please paste result of
rpm -qa | grep -i ntfs Need to verify if package indeed is meant for 64 bit RHEL 5 Ooops missed out architechture specific command rpm -qa --qf "%{n}-%{arch}\n" | grep -i ntfs |
[root@localhost ~]# rpm -qa | grep -i ntfs
ntfs-3g-devel-2011.4.12-1.el4.pp ntfs-3g-2011.4.12-1.el4.pp ntfs-3g-libs-2011.4.12-1.el4.pp [root@localhost ~]# [root@localhost ~]# rpm -qa --qf "%{n}-%{arch}\n" | grep -i ntfs ntfs-3g-devel-x86_64 ntfs-3g-x86_64 ntfs-3g-libs-x86_64 [root@localhost ~]# Thank you for all your help |
Wow... After being out of the loop for a bit, there seems to be much of nothing going on?
Give me the results of the following: Code:
uname -a |
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# [root@localhost ~]# mount /dev/mapper/VolGroup01-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) /dev/sdb1 on /NewHD type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) [root@localhost ~]# [root@localhost ~]# lsusb Bus 001 Device 004: ID 0bc2:3000 Seagate RSS LLC Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 002 Device 002: ID 09ae:0002 Tripp Lite Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 [root@localhost ~]# Thanks again KJ |
Ok, moving on, now post the output of the following:
Code:
tail /var/log/messages |
[root@localhost ~]# tail /var/log/messages
Dec 9 10:52:11 localhost kernel: Buffer I/O error on device sdc, logical block 0 Dec 9 10:52:11 localhost kernel: Buffer I/O error on device sdc, logical block 1 Dec 9 10:52:11 localhost kernel: Buffer I/O error on device sdc, logical block 2 Dec 9 10:52:11 localhost kernel: Buffer I/O error on device sdc, logical block 3 Dec 9 13:32:28 localhost gconfd (rajagopal-4731): starting (version 2.14.0), pid 4731 user 'rajagopal' Dec 9 13:32:28 localhost gconfd (rajagopal-4731): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0 Dec 9 13:32:28 localhost gconfd (rajagopal-4731): Resolved address "xml:readwrite:/home/rajagopal/.gconf" to a writable configuration source at position 1 Dec 9 13:32:28 localhost gconfd (rajagopal-4731): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2 Dec 9 15:34:58 localhost gconfd (rajagopal-4731): GConf server is not in use, shutting down. Dec 9 15:34:58 localhost gconfd (rajagopal-4731): Exiting [root@localhost ~]# ls -al /dev/sd* brw-r----- 1 root disk 8, 0 Dec 9 07:59 /dev/sda brw-r----- 1 root disk 8, 1 Dec 9 07:59 /dev/sda1 brw-r----- 1 root disk 8, 2 Dec 9 07:59 /dev/sda2 brw-r----- 1 root disk 8, 16 Dec 9 07:59 /dev/sdb brw-r----- 1 root disk 8, 17 Dec 9 07:59 /dev/sdb1 brw-r----- 1 root disk 8, 32 Dec 9 10:20 /dev/sdc brw-r----- 1 root disk 8, 33 Dec 9 10:21 /dev/sdc1 [root@localhost ~]# |
Ok, /dev/sdc is your block device; sdc1 is the partition you need to mount. Perform the following:
Code:
mkdir /mnt/exthd Code:
mount -t ntfs /dev/sdc1 /mnt/exthd |
No luck, I got the below message
[root@localhost ~]# mkdir /mnt/exthd [root@localhost ~]# mount /dev/sdc1 /mnt/exthd mount: you must specify the filesystem type [root@localhost ~]# mount -t ntfs /dev/sdc1 /mnt/exthd mount: unknown filesystem type 'ntfs' [root@localhost ~]# |
Oops, use ntfs-3g. I know this is repetitive, but there were mixed answers before.
|
I had forgot to tell you, I used ntfs-3g and it was giving same error. Fuse is missing
|
could you please run following for me and paste results
Code:
lsmod |
[root@localhost ~]# lsmod
Module Size Used by nls_utf8 35137 0 hfsplus 111817 0 autofs4 57033 2 hidp 83521 2 rfcomm 104809 0 l2cap 89281 10 hidp,rfcomm bluetooth 118597 5 hidp,rfcomm,l2cap sunrpc 197897 1 dm_multipath 55257 0 scsi_dh 41665 1 dm_multipath video 53197 0 hwmon 36553 0 backlight 39873 1 video sbs 49921 0 i2c_ec 38593 1 sbs button 40545 0 battery 43849 0 asus_acpi 50917 0 acpi_memhotplug 40133 0 ac 38729 0 ipv6 424609 30 xfrm_nalgo 43333 1 ipv6 crypto_api 42945 1 xfrm_nalgo lp 47121 0 i2c_i801 41813 0 i2c_core 56129 2 i2c_ec,i2c_i801 parport_pc 62312 1 ide_cd 73825 0 shpchp 70765 0 floppy 95465 0 e1000e 145809 0 usb_storage 116641 0 parport 73165 2 lp,parport_pc i5000_edac 43465 0 edac_mc 60193 1 i5000_edac pcspkr 36289 0 serio_raw 40517 0 cdrom 68713 1 ide_cd sg 69993 0 dm_raid45 99025 0 dm_message 36161 1 dm_raid45 dm_region_hash 46145 1 dm_raid45 dm_mem_cache 38977 1 dm_raid45 dm_snapshot 51465 0 dm_zero 35265 0 dm_mirror 53065 0 dm_log 44865 3 dm_raid45,dm_region_hash,dm_mirror dm_mod 100369 11 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log ata_piix 56901 3 libata 208721 1 ata_piix sd_mod 56385 5 scsi_mod 196569 5 scsi_dh,usb_storage,sg,libata,sd_mod ext3 168017 3 jbd 94257 1 ext3 uhci_hcd 57433 0 ohci_hcd 55925 0 ehci_hcd 65741 0 [root@localhost ~]# |
Please execute following and try mounting again.
Code:
yum install dkms dkms-fuse |
The OP is not registered with RHN i.e. not a paid subscriber and therefore can not use yum (see post #12,17).
Navigate to your RHEL version and download fuse. http://packages.atrpms.net/dist/ If you are not planning on paying for RHEL may I suggest using CentOS. |
All times are GMT -5. The time now is 08:34 AM. |