I started up this EC2 instance to learn more about SUSE Linux and slowly ended up with a fully fledged web server with apache and mysql installed.
I must have restored from snapshots countless of times, so Im a bit worried that I messed up somewhere. Today I ran the following commands and saw this:
ip-xxxx:~ # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 9.8G 4.4G 4.9G 48% /
devtmpfs 483M 100K 483M 1% /dev
tmpfs 498M 0 498M 0% /dev/shm
tmpfs 498M 79M 420M 16% /run
/dev/sda1 9.8G 4.4G 4.9G 48% /
the rootfs and sda1 appear to be linked. This looks ok
ip-xxxx:~ # lsblk
NAME MAJ:MIN RM SIZE RO MOUNTPOINT
hda 3:0 0 10G 0
└─hda1 3:1 0 9.9G 0
sda 8:0 0 10G 0
└─sda1 8:1 0 9.9G 0 /
xvdf 202:80 0 2G 0 [SWAP]
But here I see hda1 and sda1, but hda1 has no mountpoint and I certainly dont have this block device in my aws control panel.
Please help me understand this. Is this normal?
Is it possible that when I first installed the instance, it was using hda1, but at a later stage when I restored a snapshot and inadvertently started using sda1 name? How do I get rid of hda1?