created ext2 file system on unpartitioned disk
here's what i did. Took an external hdd plugged it in, ran fdisk on it, thought i'd set the disk it to be the whole disk with a linux label. Then thought and written the partition table.
I then ran mk2fs. I've moved a load of data onto it and today I happened to run fdisk -l which showed:
Disk /dev/sda: 2000.4 GB, 2000406183936 bytes
255 heads, 63 sectors/track, 243202 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
It appears that i didn't set the partition up correctly. Either i didn't write the partition table to disk or didn't setup the partition properly for some other reason.
mke2fs did create a filesystem on the disk and the data is showing and available. Do i need to worry? can i remedy without losing the data. Is it possible to set up a file system without a partitioned disk?