HowTo: Mounting HFSplus filesystem in centos6

Posted on

hfsplus  (Hierarchical File System) is a file system which is developed for MAC OSX , In some of the cases we have to mount is different operating system.  I followed this method which is simplest way to mount using epel package repo., http://elrepo.org/tiki/tiki-index.php.

First you need to import elrepo GPG Key:

# rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org

Adding/Installaing Repository to the Centos:

# rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm

Installing necessary package:

 # yum install kmod-hfsplus

Now you can get the block dev informations from the Kernel log

# tail -f /var/log/messages
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] 1953525167 512-byte logical blocks: (1.00 TB/931 GiB)
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Write Protect is off
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sdc: sdc1 sdc2 ---> these are the block devices to mount
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Attached SCSI disk
Jan 7 07:05:14 test kernel: EXT4-fs (sda3): warning: checktime reached, running e2fsck is recommended

Now mount the devce :

# mount /dev/sdc2 /media/disk2

For more information about the disk file system use command blkid

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s