Originally Posted by
Jason_Minns
Do others get this message when using the tune2fs tool to investigate the partition that swap is on? I'm curious.
From man tune2fs:
tune2fs - adjust tunable filesystem parameters on
ext2/ext3/ext4 filesystems
(My bold.) A swap partition doesn't have a ext2/ext3/ext4 filesystem. Using tune2fs to investigate a swap partition is a bit like using a cheese grater to fry onions. It's the wrong tool for the wrong job. But to satisfy your curiosity (my swap is on sda5):
Code:
$ sudo tune2fs -l /dev/sda5
tune2fs 1.42.9 (4-Feb-2014)
tune2fs: Bad magic number in super-block while trying to open /dev/sda5
Couldn't find valid filesystem superblock.
The same output as you, but it doesn't worry me because that output is meaningless. Wrong tool; wrong job.
I think you've been sufficiently answered by others - there is nothing wrong in what you are seeing.
Bookmarks