1,788 reputation
212
bio website bitsofnix.wordpress.com
location
age
visits member for 1 year, 5 months
seen yesterday

Working mainly with Solaris and Linux.

System administration!


Oct
8
comment Java PATH issue when installing JDK7 on centos 32 bit
CentOS does not user 'alternative' command for this? '/usr/sbin/alternatives –install /usr/bin/java java /usr/java/latest/bin/java 20000'
Sep
23
comment How to monitor average stats of CPU and memory usage of a Solaris server using scripts?
check sar utility.
Sep
23
comment Yum update error: Could not retrieve mirrorlist
did you try to access the url by browser? are you behind a proxy? what happen when you nslookup the urls?
Sep
22
comment VirtualBox Guest Additions causes problems with X server in Fedora 18. How to solve without reinstalling?
check VM settings in vbox for the display. disable 3d acceleration
Sep
20
answered VirtualBox Guest Additions causes problems with X server in Fedora 18. How to solve without reinstalling?
Sep
18
comment Why isn't the first executable in my $PATH being used?
that is weird! I just tested with ls and put in my case in /usr/local/bin and after copying the file which reported the first instance in the $PATH. Using bash 4.2.45
Sep
16
comment Drive keeps rebooting and wait for manual fsck
have you checked the logs ??
Sep
15
comment I broke zypper somehow; zypper: /lib64/libresolv.so.2
if you install something with yum you can check the history with yum history and track what step you did to downgrade the pkg.
Sep
12
answered Using tcpdump to extract NFS RPC contents
Sep
12
comment Using tcpdump to extract NFS RPC contents
and for NFSv3 I see file contents but no filename :S
Sep
12
comment Using tcpdump to extract NFS RPC contents
What operation are you trying to do on the file? For instance, if I do vi filename, I can see a NFS call Open DH: hex value <filename>. NFSv4 after the GETATTR
Sep
12
comment Using tcpdump to extract NFS RPC contents
Not sure if it will help but from the RPC specification forthe NFSv3: ietf.org/rfc/rfc1813.txt it says " object The file handle of an object whose attributes are to be retrieved." SO I guess you will need to map the file handle from the tcpdump to the OS.
Sep
12
comment Is it possible to change the sector size of a partition for zfs raidz pool in linux?
running out of ideas here, but can you partition be unaligned? You can check with fdisk /dev/sdd. The start should be multiple of 8. If not, I'm afraid that you will need to backup, destroy, create a new pool (maybe specifying ashift=12 would be a good idea to force it) and restore !!!
Sep
12
comment Is it possible to change the sector size of a partition for zfs raidz pool in linux?
Could you put your current zpool status zfs_raid output, to see the raid layout?
Sep
12
comment Is it possible to change the sector size of a partition for zfs raidz pool in linux?
Not adding a spare or add new disk, doing zpool attach pool old_device new_device, this will mirror the old_device to the new_device, then you detach the old_device from your mirror after resilver: docs.oracle.com/cd/E26502_01/html/E29007/gayrd.html#scrolltoc <- info about attach/detach and the differences between add and attach.
Sep
11
comment Is it possible to change the sector size of a partition for zfs raidz pool in linux?
Can't you do instead zfs attach zfs_raid <file> <device> and after sync zfs detach zfs_raid <file>
Sep
9
comment Error building Oracle client 11g R2 on RHEL 5.5
Have you check the log file? INFO: /bin/sh: line 2: /usr/bin/gcc: No such file or directory. where is the gcc binary?
Sep
9
answered My at command failed to reschedule. How can I debug this?
Sep
4
revised How do I run the same linux command in more than one tab/shell simultaneously?
deleted 5 characters in body
Sep
4
comment How do I run the same linux command in more than one tab/shell simultaneously?
@Arpith the screen spawn several terminals in a single one. If you want to see all of them in "real time" then you can use screen. Although personally I would go with logfiles, you can set up your prog to send a message or actually have your own prog writing a logfile for each instance (ex: myprog.pid.log)