LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   So my EC2 Instance seems to have duplicate storage devices? (https://www.linuxquestions.org/questions/linux-newbie-8/so-my-ec2-instance-seems-to-have-duplicate-storage-devices-4175524908/)

Unre4L 11-09-2014 07:05 PM

So my EC2 Instance seems to have duplicate storage devices?
 
Hello Guys

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:

Quote:

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

Quote:

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?


All times are GMT -5. The time now is 10:37 PM.