paris/i-050cad83ab4faeb81
by SadServersMore by SadServers
[ -t|--test ] [ --commandprofile String ] [ --config String ] [ --driverloaded y|n ] [ --nolocking ] [ --lockopt String ] [ --longhelp ] [ --profile String ] [ --version ] Use --longhelp to show all options and advanced commands. root@i-0ff2ca442c03af1da:/home/admin# vgcreate vg_new /dev/nvme nvme0 nvme0n1p1 nvme0n1p15 nvme1n1 nvme2n1 nvme0n1 nvme0n1p14 nvme1 nvme2 root@i-0ff2ca442c03af1da:/home/admin# vgcreate vg_new /dev/nvme1n1 /dev/nvme2
kihei/i-0ff2ca442c03af1da 03:54
by SadServersdrwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0e45767b31594566c:~$ chmod 777 data chmod: changing permissions of 'data': Operation not permitted admin@i-0e45767b31594566c:~$ sudo chmod 777 data admin@i-0e45767b31594566c:~$ ./kihei -v Deleting file /home/admin/data/newdatafile... panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0e45767b31594566c:~$ rm /home/admin/data/newdatafile rm: remove write-protected regular empty file '/home/admin/data/newdatafile'? n
kihei/i-0e45767b31594566c 09:15
by SadServerssdb sdb1 root@i-003497fc2983fdff0:/home/admin# pvcreate /dev/sdb1 Physical volume "/dev/sdb1" successfully created. root@i-003497fc2983fdff0:/home/admin# pvcreate /dev/sdc1 Physical volume "/dev/sdc1" successfully created. root@i-003497fc2983fdff0:/home/admin# pvs PV VG Fmt Attr PSize PFree /dev/sdb1 lvm2 --- 1023.00m 1023.00m /dev/sdc1 lvm2 --- 1023.00m 1023.00m root@i-003497fc2983fdff0:/home/admin# vgcreate vg_datos /dev/sdb1 /dev/sdc1 Volume group "vg_datos" successfully created root@i-003497fc2983fdff0:/home/admin# vgs VG #PV #LV #SN Attr VSize VFree vg_datos 2 0 0 wz--n- 1.99g 1.99g root@i-003497fc2983fdff0:/home/admin# lvcreate