1,942 reputation
615
bio website bitsofnix.wordpress.com
location
age
visits member for 2 years
seen Dec 16 at 23:00

Working mainly with Solaris and Linux.

System administration!


Dec
6
comment find parent string based on regex
Thank you. I'll give it a try.
Dec
6
comment find parent string based on regex
since when? this is shell scripting question which is part of this site you can find more info -> unix.stackexchange.com/help/on-topic.
Dec
6
comment find parent string based on regex
this is an answer as it does exactly what I want, although it's slow and I would like something simpler. Doing like this to 200+ devices is just overkill. Although when I posted the question I had only volume name and was thinking on how to obtain the desired result.
Dec
6
comment find parent string based on regex
I want to find the domain associated with a device. Mainly I have a list of devices, I find their volume name (vol=name) and then I want to get the domain they are assigned to.
Jul
24
comment ZFS: Trying to remove top-level drive from Zpool
@chronic I wonder what documentation you read. Increasing zpool size is just a matter of adding a disk or even a new stripe/mirror/raidz to it. The only trick in some cases is that you need to perform a zpool set autoexpand=on after adding the disks. Same goes to extend space on a single device zpool, resize underlying this, autoexpand=on and then off and new space is available.
Jul
15
comment Tomcat: no xmx/xms value set, where is the heap value being defined?
a simple google search let to this: stackoverflow.com/questions/6897476/…, unless I am misunderstanding the question.
May
27
comment zfs replication temporary file
that's manual work, but on the destination you can do zfs list -t snapshot and check how much space is use.
May
26
comment zfs replication temporary file
I add a similar situation recently, but you can't see anything besides the destination increasing. In my case was send and receive . But even using -v option, only at the end of the operation it tells you how long it took and the amount of data.
May
21
comment ksh, perform action when reaching loop maximal value
can you explain why is not correct? with the current implementation after a max of 5 "failed" executions it ends.
Mar
29
comment update line based on previous line
works like a charm, just in Solaris 11 it has to be the gawk ( it stands for gnu awk ). thanks a lot.
Jan
21
comment How can I do NFSv4 UID mapping across systems with UID mismatches?
From find man: -group gname True if the file belongs to the group gname. If gname is numeric and does not appear in the group(4) database, it is taken as a group ID.
Jan
3
comment Virtualbox 4.2.18 Ubuntu guest — unable to access shared folder
that might be a know bug. try to use the cli and copy the file using the full path. ex: cp /sf_mount/file /home/my_user. If it works it is because of a bug with kernel 3.10 and up if I remember correctly.
Dec
13
comment Does configuring iscsi target and iscsi initiator in two linux nodes and using ethernet cable for communication make it SAN?
google search: "iscsi nas or san" = communities.netapp.com/community/netapp-blogs/dave/blog/2007/04/…
Dec
9
comment Kill disconnected SSH session running in `screen`
have you tried the escape sequence to terminate the connection? the default is "~.", usually this forcibly closes the connection.
Nov
16
comment What kind of support/options are there for switchable graphics on linux?
phoronix.com/scan.php?page=news_item&px=MTQ0ODM, check here. article with some info, but you need kernel 3.12 and not sure if it works with Amd cards, since they only mention noveua driver
Nov
15
comment What kind of support/options are there for switchable graphics on linux?
take a look into Fedora 20 Beta as this is one of the new features, although I don't know details.
Nov
13
comment useradd does not work but has exit code 0
you're not running the command as root. at least the root prompt normally is # instead of $. Also, when you do passwd you get permission denied.
Nov
7
comment Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)
also this seems a Virtual Machine are sure you have the correct setting on the nic side?
Nov
7
comment Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)
can you post this: svccfg -s network/dns/client listprop config
Nov
6
comment How to set up an SSD as a cache for the big Hard Drive?
you have to patch due to your kernel version. centos is on 2.6 while the main version now is 3.x. you can check the change log of centos kernel and verify if they added the solutions provided or if you have to patch your kernel.