Linux

Linux stuff

Spit a file in pieces with split (30 mins, in the end full size for 60Gb) # split -b 10G /mnt/timecapsule/Virtualbox/harry.vdi “harry.vdi.wcomp.part" # ls -lsh total 56G 10G -rw-r--r-- 1 root root 10G Jun 25 15:25 harry.vdi.wcomp.partaa 10G -rw-r--r-- 1 root root 10G Jun 25 15:36 harry.vdi.wcomp.partab 10G -rw-r--r-- 1 root root 10G Jun 25 15:46 harry.vdi.wcomp.partac 10G -rw-r--r-- 1 root root 10G Jun 25 16:06 harry.vdi.wcomp.partad 10G -rw-r--r-- 1 root root 10G Jun 25 16:29 harry.vdi.wcomp.partae 5.6G Read more...
VAS is a QUEST (formerly DELL) software that allows validating GAD account in Unix environments. If running vastool status you receive an error of no srvinfo, then first check DNS entries in resolv.conf to assure the servers are correct and that also resolve hosts   root@server1:/root# /opt/quest/bin/vastool status Host: <server1, SunOS 5.10 sparc> Date: <Tuesday, 22 November 2016 15:58:18 CET> QAS: <4.x.x.x> Domain: <your.domain.com> INFO: 232 No srvinfo Read more...

Check current UUID blkid values:

root@datadroid:~# blkid|grep sda2
/dev/sda2: LABEL="omv" UUID="a4b494db-320a-4ce2-bb3a-841db943f9c0" TYPE="ext4" PARTUUID="000ddd31-02"

To update or modify the UUID run tune2fs

root@datadroid:~# tune2fs /dev/sda2 -U 804a6f55-0432-491b-9a97-65cff6571f3d
Check again 
root@datadroid:~# blkid|grep sda2
/dev/sda2: LABEL="omv" UUID="804a6f55-0432-491b-9a97-65cff6571f3d" TYPE="ext4" PARTUUID="000ddd31-02"

Deadline Scheduler The deadline algorithm attempts to limit the maximum latency and keep the humans happy. Every I/O request is assigned its own deadline and it should be completed before that timer expires. Two queues are maintained per device, one sorted by sector and the other by deadline. As long as no deadlines are expiring, the I/O requests are done in sector order to minimize head motion and provide best throughput. Reasons to use the deadline scheduler include: 1: People use your system Read more...
after adding the OVPN configuration file and the p12 key in the iPhone, we will receive an error and the connection is not successfull. In order to solve this we need to add in the ovpn configuration file between <ca> </ca> the root certificate of the OpenVPN server. For example: #OpenVPN Server conf tls-client client dev tun proto tcp tun-mtu 1400 nobind remote server.example.com 1194 pkcs12 iphone.p12 cipher BF-CBC verb 3 ns-cert-type server <ca> -----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIJAO8FEXJYWXYIMA0GCSqGSIb3DQEBCwUAMIGbMQswCQYD VQQGEwJFUzERMA8GA1UECBMIQXN0dXJpYXMxDzANBgNVBAcTBk92aWVkbzEQMA4G A1UEChMHQW5hc29mdDEUMBIGA1UECxMLQ29uc3VsdGFuY3kxEzARBgNVBAMTCkFu YXNvZnQgQ0ExKzApBgkqhkiG9w0BCQEWHGNhcmxvcy52aWxsYWJyaWxsZUBnbWFp bC5jb20wHhcNMTcwMzE2MDAyNzM1WhcNMzIwMzE2MDAyNzM1WjCBmzELMAkGA1UE BhMCRVMxETAPBgNVBAgTCEFzdHVyaWFzMQ8wDQYDVQQHEwZPdmllZG8xEDAOBgNV BAoTB0FuYXNvZnQxFDASBgNVBAsTC0NvbnN1bHRhbmN5MRMwEQYDVQQDEwpBbmFz b2Z0IENBMSslMWYJKoZIhvcNAQkBFhxjYXJsb3MudmlsbGFicmlsbGVAZ21haWwu Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyVvqx1xmyvV08vzc Cq831edSHLsrNPOopdCRZiB9uSNFsnS/V9XfBqopFfKV6HenyQzp9WRFuB/oVsK9 OomacMRtJXQj7sDWxsqALAfZTdNtVWRU8ilMuo9NiY+8mOko0HURcCH5N7JIMRnB bxaRpO/kya9/LqxA4Bzn9Tjvedy8fThXy40EjlozjelF5yyyqKenRDYuEypxfErb rirZwFCs/GaWG4IabjnTsiSTZU15eMloxZAlou5MvK2HqpyywxEK4H5Yj27nuZog y8DvgeWWVSDEAPOoglAk3KpLlKNo8sc4KubN+xMx5B7pONwDt23aFHVqfbSMpE2W rF6bEwIDAQABo4IBBDCCAQAwHQYDVR0OBBYEFAFoflQibhMPtIYiCrni9UU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