command-line-murders/i-0b167f057c0bf9d05
by SadServersMore by SadServers
lvm lvmconfig lvmdiskscan lvmdump lvmpolld lvmsadc lvadmin@i-07643435c20bd9e33:~$ lvm lvm lvmconfig lvmdiskscan lvmdump lvmpolld lvmsadc lvadmin@i-07643435c20bd9e33:~$ which lvm /usr/sbin/lvm admin@i-07643435c20bd9e33:~$ whatis lvm lvm (8) - LVM2 tools admin@i-07643435c20bd9e33:~$ pvcreate /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-07643435c20bd9e33:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-07643435c20bd9e33:~$ sudo pvcreate /dev/nvme2n1 Physical volume "/dev/nvme2n1" successfully created. admin@i-07643435c20bd9e33:~$ sudo vgcreate kiheidata
kihei/i-07643435c20bd9e33 04:44
by SadServersadmin@i-0adff572b0c9e6e2c:~$ ls agent data datafile kihei admin@i-0adff572b0c9e6e2c:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Sep 17 17:28 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-0adff572b0c9e6e2c:~$
kihei/i-0adff572b0c9e6e2c 00:17
by SadServersgzip -c file1 file2 > foo.gz If you want to recompress concatenated files to get better compression, d gzip -cd old.gz | gzip > new.gz If a compressed file consists of several members, the uncompressed size a the --list option applies to the last member only. If you need the unco members, you can use: gzip -cd file.gz | wc -c If you wish to create a single archive file with multiple members so that Manual page gzip(1) line 187 (press h for help or q to quit)