grandfathermagic

trying to connect ebs amazon machine

May 24th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.79 KB | None | 0 0
  1. [root@ip-172-31-35-198 ~]# lsblk
  2. NAME    MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  3. xvda    202:0    0  10G  0 disk
  4. ├─xvda1 202:1    0   1M  0 part
  5. └─xvda2 202:2    0  10G  0 part /
  6. xvdf    202:80   0  10G  0 disk
  7. ├─xvdf1 202:81   0   1M  0 part
  8. └─xvdf2 202:82   0  10G  0 part
  9. ----------------------------------------------------------------------------------------------------------------------------
  10. ----------------------------------------------------------------------------------------------------------------------------
  11. [root@ip-172-31-35-198 ~]# fdisk -l
  12. Disk /dev/xvda: 10 GiB, 10737418240 bytes, 20971520 sectors
  13. Units: sectors of 1 * 512 = 512 bytes
  14. Sector size (logical/physical): 512 bytes / 512 bytes
  15. I/O size (minimum/optimal): 512 bytes / 512 bytes
  16. Disklabel type: dos
  17. Disk identifier: 0xd00a186f
  18.  
  19. Device     Boot Start      End  Sectors Size Id Type
  20. /dev/xvda1       2048     4095     2048   1M 83 Linux
  21. /dev/xvda2 *     4096 20971486 20967391  10G 83 Linux
  22.  
  23.  
  24. Disk /dev/xvdf: 10 GiB, 10737418240 bytes, 20971520 sectors
  25. Units: sectors of 1 * 512 = 512 bytes
  26. Sector size (logical/physical): 512 bytes / 512 bytes
  27. I/O size (minimum/optimal): 512 bytes / 512 bytes
  28. Disklabel type: dos
  29. Disk identifier: 0xd00a186f
  30.  
  31. Device     Boot Start      End  Sectors Size Id Type
  32. /dev/xvdf1       2048     4095     2048   1M 83 Linux
  33. /dev/xvdf2 *     4096 20971486 20967391  10G 83 Linux
  34. ----------------------------------------------------------------------------------------------------------------------------
  35. ----------------------------------------------------------------------------------------------------------------------------
  36. [root@ip-172-31-35-198 ~]# df -Th
  37. Filesystem     Type      Size  Used Avail Use% Mounted on
  38. devtmpfs       devtmpfs  386M     0  386M   0% /dev
  39. tmpfs          tmpfs     408M     0  408M   0% /dev/shm
  40. tmpfs          tmpfs     408M   11M  398M   3% /run
  41. tmpfs          tmpfs     408M     0  408M   0% /sys/fs/cgroup
  42. /dev/xvda2     xfs        10G  1.2G  8.9G  12% /
  43. tmpfs          tmpfs      82M     0   82M   0% /run/user/1000
  44. ----------------------------------------------------------------------------------------------------------------------------
  45. ----------------------------------------------------------------------------------------------------------------------------[root@ip-172-31-35-198 ~]# lsblk -f
  46. NAME    FSTYPE LABEL UUID                                 MOUNTPOINT
  47. xvda                                                      
  48. ├─xvda1                                                  
  49. └─xvda2 xfs          3510a17e-27dc-4ae2-9243-d600c16f4106 /
  50. xvdf                                                      
  51. ├─xvdf1                                                  
  52. └─xvdf2 xfs          3510a17e-27dc-4ae2-9243-d600c16f4106
Advertisement
Add Comment
Please, Sign In to add comment