I have been attempting to convert my drives filesystem over to EXT4, purely because it will always be plugged into the Raspberry Pi thus it is just much better to go through ext4.
I am having a problem, however - regardless of what I do,
blkid always reports the drive as a "ntfs" drive, which is not what I want.
I have been through
fdisk, deleted the only partition on the drive, created a new linux partition (which works), wrote the changes to disk and reboot - however, upon reboot and mount the drive is constantly working (i.e the disk is spinning and head is moving) regardless of the fact that nothing is actually happening
There is obviously something wrong here, the drive has an LED that indicates the drive is busy and that is constantly flickering now I have tried to set up an ext4 filesystem, once I format back to ntfs or fat, it is fine.
Any help would be appreciated!
Should probably state I have a Raspberry Pi Model B and a Samsung M3 portable HDD. HDD is plugged into a powered USB Hub.
The process I have been taking:
- Start by checking
blkid, make sure the device has been recognized and check the filesystem (at this point, it has always been ntfs)
sudo fdisk /dev/sda, delete any existing partitions
- Create a brand new, primary partition, onto the HDD. Make it span the full drive.
- Write the changes to the harddrive, reboot the Pi
- Next, I run
sudo mkfs.ext4 /dev/sda1to format the new partition with
- Once again, I reboot.
- Finally, I mount the partition using
sudo mount /dev/sda1 /media/usbhdd
And this where I am now, the External Harddrive is constantly working (identified by the LED blinking, and the drive itself vibrating)
After all of this, here are the results:
major minor #blocks name 179 0 7565312 mmcblk0 179 1 57344 mmcblk0p1 179 2 7503872 mmcblk0p2 8 0 976762584 sda 8 1 976761560 sda1
sudo fdisk /dev/sda partition print
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x2acf4408 Device Boot Start End Blocks Id System /dev/sda1 2048 1953525167 976761560 83 Linux
It might also be worth noting that, at this point,
blkid does not display the drive at all.