Hot answers tagged

4

You can't. It's now in the pool as a single-drive vdev. vdevs can not be removed from a pool. That's the bad news. The worse news is that you've now effectively got a RAID-0 with your raidz2-0 vdev and the c2t13d0 vdev. This is NOT good. It's doubleplusungood. Your options are: to live with the pool you have created backup, destroy and re-create the ...


3

If you are sure there are no " characters in the data you're looking for and if there's only one line containing a "customfield_10701" entry in the file, then sed -n 's/.*"customfield_10701":"\([^"]*\)".*/\1/p' e.g., $ cat x ... jshdgfjhsdgfjh,"customfield_10701":"Some Branch","customfield_10702ksghdkfsdkfjkj ... $ sed -n 's/.*"customfield_10701":"\([^"]*...


2

The problem seems to be that, although do.gplot ultimately writes to a PDF file (plotcycles.pdf) it does so by first plotting to the default output device (probably wxt) and then setting the terminal type to pdfcairo and issuing a replot command. There appear to be a number of ways to override the default terminal type - either on the gnuplot command line ...


2

LDOM is the Sun/Oracle hypervisor layer for SPARC machines, and so only works on SPARC hardware (v9 or higher). See https://en.wikipedia.org/wiki/Oracle_VM_Server_for_SPARC You can't run this inside VirtualBox. VirtualBox doesn't emulate SPARC hardware, it's an Intel/AMD virtualisation technology. However you should be able to run Solaris Zones inside ...


2

Use nawk under Solaris. /usr/bin/awk is the legacy, non POSIX awk with which a script only containing a BEGIN action isn't skipping its stdin. The following statement is appearing in the nawk and /usr/xpg4/bin/awk manual but not in the old awk one: If an nawk program consists of only actions with the pattern BEGIN, and the BEGIN action contains no getline ...


1

I found this Q still-unanswered; G-Man and Bratchley have pointed out the error; getuid() returns the "real user ID of the calling process" while geteuid() returns the "effective user ID of the calling process". You can see the difference with this program: #include <stdio.h> #include <sys/types.h> #include <unistd.h> int main (void) { ...


1

Use Solaris installation media to boot, either to entirely in memory or using only the swap partition. The Solaris fsck will support the filesystem(s) in use. In general, Linux filesystems are not Solaris filesystems. You can get Solaris 11 boot media here. Try the ''live media'' entry for x86 hosts.


1

As one of the primary authors of the Image Packaging System, I think I can answer this question. I've written about this topic before, so here's a quick summary: pkg(5), the image packaging system (IPS), is a software delivery system with interaction with a network repository as its primary design goal. Other key ideas are: safe execution for zones and ...


1

You might start by reading that page: http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-083-ips-basics-523756.html There is no connection between SYSV and IPS outside the fact Solaris is derived from the System V release 4.0 Unix branch but Solaris 11 deprecated the System V packaging commands (pkgadd, pkgrm, pkginfo, ...) to the new IPS ...


1

I doubt very much that cksum would bother providing any significant formatting options, but cksum file.txt | awk '{ print $1,$2,$3 }' will do what you want.


1

I was wrong about OpenCSW. I just missed adding the git executable to the path. This is still unsupported per their description but it seems to still work. https://www.opencsw.org/packages/git/ Follow the steps listed here and then git should be located here: /opt/csw/libexec/git-core/git



Only top voted, non community-wiki answers of a minimum length are eligible