mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Test update.
This commit is contained in:
parent
4699f87cc7
commit
ed48590821
3 changed files with 40 additions and 16 deletions
11
script/test/trial.sh
Executable file
11
script/test/trial.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
DISK=/dev/sdb
|
||||
|
||||
DISKSIZE=$(blockdev --report ${DISK} | awk /${DISK}/'{print $6}')
|
||||
VOLSIZE=$(lvdisplay --units B /dev/vg_test/anko | awk '/Size/{print $3}')
|
||||
|
||||
echo $DISKSIZE
|
||||
echo $VOLSIZE
|
||||
|
||||
echo "scale=3; $VOLSIZE/$DISKSIZE" | bc
|
||||
Loading…
Add table
Add a link
Reference in a new issue