Page 1 of 1

mount drive with no partitions

Posted: Sat Apr 09, 2016 1:31 am
by solar3000
I just formatted a 4TB drive with no partition.
Its mounted as /dev/sdc
No partitions.
How is this possible? I can read and write files to it.

Re: mount drive with no partitions

Posted: Sat Apr 09, 2016 2:18 am
by W. H. Heydt
You created a partition when you formatted it. Look at it with "gparted" to see what kind of partition you have.

Re: mount drive with no partitions

Posted: Sat Apr 09, 2016 2:51 am
by klricks
solar3000 wrote:I just formatted a 4TB drive with no partition.
Its mounted as /dev/sdc
No partitions.
How is this possible? I can read and write files to it.
Note that if the drive does not mount for some reason then the mount point will revert to the SD card.

I had that situation when my 4TB drive failed. I did not notice it until I almost filled the SD card.
The only clue I had is that the total drive space was showing the size of the SD card instead of the HD.

Re: mount drive with no partitions

Posted: Sat Apr 09, 2016 3:57 am
by rpdom
It is possible to format a "raw" drive with no partitions (sometimes referred to as "floppy mode" as that is how floppy disks were formatted). Then you would mount /dev/sdX instead of /dev/sdXn. You would gain a small amount of extra free space this way, but it would confuse the kernel a little when it checks the disk and finds no partition table.