Histórico da Página
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# fdisk -l |
Bloco de código | ||
---|---|---|
| ||
[root@vmappserver01 ~]# fdisk -l
Disk /dev/sdb: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk /dev/sdc: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk /dev/sdd: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk /dev/sde: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes |
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# pvcreate /dev/sd[b-c-d-e] -v |
Expandir | ||
---|---|---|
| ||
|
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# pvs |
Expandir | |||||
---|---|---|---|---|---|
| |||||
|
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# vgcreate -s 8M totvs /dev/sd[b-c-d-e] -v |
Expandir | ||
---|---|---|
| ||
|
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# vgchange -a y /dev/totvs/lv_stripe |
Expandir | ||
---|---|---|
| ||
|
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# lvcreate -L 2000G -n lv_stripe totvs |
Expandir | ||
---|---|---|
| ||
|
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# lvdisplay totvs/lv_stripe -m |
Expandir | ||||
---|---|---|---|---|
| ||||
|
...
Bloco de código | ||
---|---|---|
| ||
[root@vmappserver01 ~]# mkfs.ext4 /dev/totvs/lv_stripe |
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# mkdir /totvs |
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# mount /dev/totvs/lv_stripe /totvs |
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# df -lh |
Expandir | ||
---|---|---|
| ||
|
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# echo '/dev/mapper/totvs-lv_stripe /totvs ext4 defaults,_netdev,nofail 0 2' | tee -a /etc/fstab |
Bloco de código | ||||
---|---|---|---|---|
| ||||
[root@vmappserver01 ~]# cat /etc/fstab |
Bloco de código | ||||
---|---|---|---|---|
| ||||
# # /etc/fstab # Created by anaconda on Tue Jun 15 16:59:24 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # /dev/mapper/ocivolume-root / xfs defaults 0 0 UUID=6408a2f9-7367-4952-8e0b-4bf42e8e041c /boot xfs defaults 0 0 UUID=C675-9E96 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/ocivolume-oled /var/oled xfs defaults 0 0 tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0 ###################################### ## ORACLE CLOUD INFRASTRUCTURE CUSTOMERS ## ## If you are adding an iSCSI remote block volume to this file you MUST ## include the '_netdev' mount option or your instance will become ## unavailable after the next reboot. ## SCSI device names are not stable across reboots; please use the device UUID instead of /dev path. ## ## Example: ## UUID="94c5aade-8bb1-4d55-ad0c-388bb8aa716a" /data1 xfs defaults,noatime,_netdev 0 2 ## ## More information: ## https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Tasks/connectingtoavolume.htm /.swapfile none swap sw,comment=cloudconfig 0 0 /dev/mapper/totvs-lv_stripe /totvs ext4 defaults,_netdev,nofail 0 2 |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas