partition confusion
Posted: Wed Oct 01, 2014 2:35 pm
Hi there, perhaps some of you can resolve my linux confusion about my strange partitions in raspbian. I would like to understand. The confusion is certainly because of my strange setup, so I will describe what I did.
First here is my confusion:
I have an external harddisk and I do
I think I created this partitioning on a MintLinux with gparted. I put a FAT32 partition for Windows PC with the drivers to recognize EXT2, so that I can access the EXT2 on Windows PCs.
Now, if I want to do a
Now, the solution is that the ext2 file system is not on sda3, but on sda2!
So the correct way is to have the check run on sda2. There is also no sda3 in /dev .
I can access all my files and I mount them with autofs and a label to /media/cosmos700 and no problems so far.
I am also using NFS to share it on the network. Working fine.
But I really wonder about why fdisk shows different partitions than there actually are?
Perhaps it is my lacking knowledge about partitioning. Perhaps it is something about primary, extended and logical partitions?
I would be happy if some expert can explain this to me.
First here is my confusion:
I have an external harddisk and I do
Code: Select all
sudo fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x7feb07f7
Device Boot Start End Blocks Id System
/dev/sda1 1 2047 1023+ ee GPT
/dev/sda2 2048 1023999 510976 b W95 FAT32
/dev/sda3 * 1024000 1464944639 731960320 83 LinuxNow, if I want to do a
Code: Select all
sudo e2fsck /dev/sda3
e2fsck 1.42.5 (29-Jul-2012)
e2fsck: No such device or address while trying to open /dev/sda3
Possibly non-existent or swap device?Code: Select all
sudo e2fsck -C 0 /dev/sda2
e2fsck 1.42.5 (29-Jul-2012)
cosmos700 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
sudo e2fsck -C 0 /dev/sda2cosmos700: |===== cosmos700: |============================ - 50.7%I can access all my files and I mount them with autofs and a label to /media/cosmos700 and no problems so far.
I am also using NFS to share it on the network. Working fine.
But I really wonder about why fdisk shows different partitions than there actually are?
Perhaps it is my lacking knowledge about partitioning. Perhaps it is something about primary, extended and logical partitions?
I would be happy if some expert can explain this to me.