Author Archive
512 Bytes to Gigabyte
by dervish on Oct.10, 2013, under AIX
512 bytes to Gigabytes:
512_byte_blocks / 2 = Kilobytes
512_byte_blocks / 2 / 1024 = Megabytes
512_byte_blocks / 2 / 1024 / 1024 = Gigabytes
Gigabits based on 8 bits per byte:
(512_byte_blocks / 2 / 1024 / 1024) * 8 = Gigabits
Windows System Error 1219
by dervish on Sep.26, 2013, under Samba, Windows
Error:
Connecting to multiple shares on a single server with multiple credentials results in a “System Error 1219” error message.
Multiple connections to a server or shared resource by the same user, using more
than one user name, are not allowed. Disconnect all previous connections to the
server or shared resource and try again..
This error is by design. You may create an additional connection by using the hostname for one, and then the IP Address for the other.
net use X: \\hostname\share
net use Y: \\1.1.1.1\share
iOS Device Isn’t Eligible Restore Error
by dervish on Sep.25, 2013, under Apple, iOS
Error:
“The iPad [device name] could not be restored. This device isn’t eligible for the requested build.”
1. Update to latest version of iTunes.
2. Remove/comment out gs.apple.com entry from /private/etc/hosts.
#74.208.10.249 gs.apple.com
3. Restore device.
How-To: Get External IP Address from the Command Line
by dervish on Sep.09, 2013, under Networking
Commands:
curl ifconfig.me
or
dig +short myip.opendns.com @resolver1.opendns.com
Examples:
dervish@mint15 ~ $ curl ifconfig.me
88.198.110.185
dervish@mint15 ~ $ dig +short myip.opendns.com @resolver1.opendns.com
64.130.245.84
NOTE: The curl command will return the proxy server address if one is being used.
How to Find ASM Disk to Physical Device Mapping
by dervish on Jul.31, 2013, under Uncategorized
How to Find ASM Disk to Physical Device Mapping
1. List Oracle ASM Disks
# /etc/init.d/oracleasm listdisks
DV242ASM00
DV242ASM01
DV242ASM02
EMCPPA1
EMCPPB1
2. Query Disk
# /etc/init.d/oracleasm querydisk -d EMCPPB1
Disk “EMCPPB1” is a valid ASM disk on device [8, 33]
3. Match Major/Minor Numbers to Physical Disk
# ls -l /dev | grep 8|grep 33
brw-rw—- 1 root disk 8, 33 Jul 25 17:38 sdc1