I have a secondary HDD that worked fine in Ubuntu 13.04. I had mounted in to
/media/user/<some UUID>/. I could read and write files without problem. My Ubuntu installation was on a primary SSD.
I was forced to install CentOS 6.7 due to my new company policy. Now when I try to mount the drive I have issues.
sudo fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00095739 Device Boot Start End Blocks Id System
sudo mount -t autofs -o loop,offset=32256 /dev/sdb /secondary_hdd/
mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so`
sudo file -Ls /dev/sdb yields
/dev/sdb: x86 boot sector, code offset 0xb8
sd 7:0:0:0: Attached scsi generic sg2 type 0 sd 7:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) sd 7:0:0:0: [sdb] Write Protect is off sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00 sd 7:0:0:0: [sdb] Assuming drive cache: write through sd 7:0:0:0: [sdb] Assuming drive cache: write through sdb: sd 7:0:0:0: [sdb] Assuming drive cache: write through sd 7:0:0:0: [sdb] Attached SCSI disk`
I did not format the secondary disk so not sure what is wrong.
sudo mount /dev/sdb /secondary_hdd but it does not work (must specify file system).