Estou tentando remover o Volume do Amazon EBS de uma instância , e não consigo descobrir por que o sistema de arquivos não pode ser encontrado / não está montado.
Nos meus volumes do EBS, as informações do anexo mostram:
(Instance1):/dev/sdh (attached)
(Instance1):/dev/sdo (attached)
(Instance1):/dev/sdo (attached)
(Instance1):/dev/sdj (attached)
(Instance1):/dev/sdi (attached)
(Instance1):/dev/sdn (attached)
(Instance1):/dev/sdm (attached)
(Instance1):/dev/sda1 (attached)
(Instance1):/dev/sdl (attached)
Executando fdisk -l
na instância, recebo:
Disk /dev/xvda: 16.1 GB, 16106127360 bytes
Disk /dev/xvdh: 156.8 GB, 156766306304 bytes
Disk /dev/xvdm: 156.8 GB, 156766306304 bytes
Disk /dev/xvdi: 156.8 GB, 156766306304 bytes
Disk /dev/xvdn: 156.8 GB, 156766306304 bytes
Disk /dev/xvdj: 156.8 GB, 156766306304 bytes
Disk /dev/xvdo: 156.8 GB, 156766306304 bytes
Disk /dev/xvdk: 156.8 GB, 156766306304 bytes
Disk /dev/xvdl: 156.8 GB, 156766306304 bytes
Disk /dev/md127: 1254.1 GB, 1254122061824 bytes
Tentando umount
:
[root@ip-10-0-0-22 ~]# umount -d /dev/xvdm
umount: /dev/xvdm: not mounted
[root@ip-10-0-0-22 ~]# umount -d /dev/sdm
umount: /dev/sdm: not found
mount
:
[root@ip-10-0-0-22 ~]# mount
/dev/xvda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md127 on /vertica/data type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Como posso excluir os sistemas de arquivos subjacentes?
Delete what underlying filesystems? Also, could you cut-and-paste the output of cat /proc/mdstat into your question? – MadHatter
[root@ip-10-0-0-22 ~]# cat /proc/mdstat
Personalities : [raid0]
md127 : active raid0 xvdj[2] xvdn[6] xvdl[4] xvdh[0] xvdm[5] xvdi[1] xvdk[3] xvdo[7]
1224728576 blocks super 1.2 1024k chunks
unused devices: <none>