Recently i had a problem with my server running ClearOS 6.4. One of the array hardrive goes down, and i had to recover what could be recovered (it wasn’t important server but users wanted to get back some data).
I have plugged usb 1TB drive, but the COS cannot mount it. The solution was easy:
-
1dmesg |tail
shows me that my usb drive was connected to /dev/sdb -
1fdisk -l /dev/sdb
shows me that the partition type was HPFS/NTFS - next thing was to add rpmforge repo to ClearOS (i followed instructions from CentOS wiki) but i have to install wget first 🙂
1yum install wget
because it wasn’t installed on my server. After that i do some things like:
1234wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpmrpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txtrpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpmyum install ntfs-3g - After that i created a directory in /mnt
1mkdir /mnt/usbhdd
and then do
1mount -t ntfs-3g /dev/sdb1 /mnt/usbhdd
After that i am trying to copy what i can from that array 🙂