Ask questions and share hosting deals.
New here? Register and read our Community Rules. Accounts are approved by hand.
my Debian VPS doesnt have /dev/sda. Why is that?
it will have /dev/vda if it's KVM with Virtio
If your VPS is a OpenVZ VPS you have no real disk nor real partitions.
There are no real rules as to what partition may contain your root filesystem on Linux. If it's a full virtualization platform, give it a cat /proc/mounts to get an idea of how it is set up.
cat /proc/mounts
Hi, You can also run lsblk provided in util-linux-ng package
lsblk
Sample output.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk ├─xvda1 202:1 0 500M 0 part /boot └─xvda2 202:2 0 7.5G 0 part ├─vg_speedtestla-lv_root (dm-0) 253:0 0 6.7G 0 lvm / └─vg_speedtestla-lv_swap (dm-1) 253:1 0 816M 0 lvm [SWAP]
@Hidden_Refuge said: If your VPS is a OpenVZ VPS you have no real disk nor real partitions.
yes it is. I have used VMware before and didn't know this stuff
Well, OpenVZ VPS are just containers on the hostnode. So no real virtual disk nor any partition.
VMWare is hardware virtualization and has depending on the added disk mostly sda.
Comments
it will have /dev/vda if it's KVM with Virtio
If your VPS is a OpenVZ VPS you have no real disk nor real partitions.
There are no real rules as to what partition may contain your root filesystem on Linux. If it's a full virtualization platform, give it a
cat /proc/mountsto get an idea of how it is set up.Hi,
You can also run
lsblkprovided in util-linux-ng packageSample output.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk ├─xvda1 202:1 0 500M 0 part /boot └─xvda2 202:2 0 7.5G 0 part ├─vg_speedtestla-lv_root (dm-0) 253:0 0 6.7G 0 lvm / └─vg_speedtestla-lv_swap (dm-1) 253:1 0 816M 0 lvm [SWAP]yes it is. I have used VMware before and didn't know this stuff
Well, OpenVZ VPS are just containers on the hostnode. So no real virtual disk nor any partition.
VMWare is hardware virtualization and has depending on the added disk mostly sda.