Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

4
votes
2answers
1k views

X86 Solaris boot failure

We had a power outage last weekend that seems to have done some very bad things to one of our x86 Solaris machines. It is refusing to boot, and dropping me to the "grub>" prompt when started. I can ...
0
votes
3answers
172 views

grep + Regular Expressions to match uniq number

My target is to verify if $FILE is a backup file ( backup file ended with xxxx.xx.xx.xx number Example of backup files ls /etc/VRTSvcs/conf/config main.cf.17Dec2012.09.10.14 ...
1
vote
2answers
399 views

How to detach a Solaris non-global zone when zoneadm detach is not available?

I have an old Solaris 10U1 that does not have zoneadm detach command. Only the following subcommands are supported: help boot halt ready reboot list verify install uninstall I need this to move ...
1
vote
2answers
87 views

Does CPIO produce platform dependant archives?

I made a CPIO archive with following command on Solaris 11 (SPARC): find . | cpio -ov >/tmp/myarchive.cpio I copied it to Intel based Solaris 11 machine and tried to extract using the ...
0
votes
1answer
87 views

Linux/Solaris verification ( after hostname change ) in files according to hostname rule

According to the following Perl command ( this command part of ksh script ) I can replaced old hostnames with new hostnames in Linux or Solaris previos_machine_name=linux1a ...
0
votes
1answer
605 views

Write access from a Windows client via a ZFS SMB, to a file created on the host in OpenIndiana

I've got an OpenIndiana server running ZFS that is shared using a nobody user and group. I don't fully understand Solaris ACL permissions, but I do know Linux style permissions. The client is Windows ...
0
votes
2answers
747 views

linux\solaris + print specific date format from file

subject - print file date on solaris as format: yymmdd ( yy - year , mm - month , dd - day ) on Linux machine I type the following command in order to get: file date as the following: ls -l ...
0
votes
2answers
119 views

linux/solaris + how to verify OS (linux / solaris ) creation date

Please advice – how to verify OS (linux / solaris ) installation creation date which file/packages/other – can be good indication when the operation system was created/installed ? For example I ...
1
vote
1answer
112 views

Solaris' `killall` [closed]

This question is inspired by question “linux/solaris kill many proccess with one command”. Solaris' killall is described there as killing every process without any name matching, as is the case on ...
1
vote
3answers
363 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
0
votes
1answer
444 views

zfs pool error, how to determine which drive failed in the past

I had been copying data from my pool so that I could rebuild it with a different version so that I could go away from solaris 11 and to one that is portable between freebsd/openindia etc. it was ...
0
votes
1answer
275 views

How to find maximal value for “zfs set quota” without changing quota?

How do I find out how far I can go extending the quota on a ZFS file system (Solaris 10)? I was told to set zfs set quota=none and then set it back to the original value, but I'm not allowed to do it. ...
1
vote
0answers
147 views

Virtual fiber channel HBA in Solaris

We are trying to set up some virtual Fibre Channel HBA's in Solaris. This seems to be possible with NPIV. Creating NPIV's in a Solaris global zone works fine, but passing that NPIV to a zone didn't ...
1
vote
0answers
172 views

Solaris x86 11.1 and qlt driver — only 3/4 ports attach

I'm using the QLogic QLE2564 4-port 8Gb HBA. The problem I have is that when I attach the qlt target mode driver to the card, only 3/4 ports attach the driver. ffffc10006854e58 pciex1077,2532, ...
0
votes
1answer
152 views

perl + sed + remove lines that start with “#”

please advice I have linux and solaris machines, and I need command that work on both OS I use the following perl line in order to remove all lines that start with "#" why perl command not work , ...
0
votes
0answers
190 views

zentyal 3.0 domain and solaris(openindiana) client

I've installed zentyal (zentyal.org)3.0 as a PDC Domain Controller. domain name is TEST.INT windows computers are able to join this domain But i am having a real tough time joining a ...
1
vote
2answers
290 views

How to configure HA iSCSI for Solaris 10

BACKGROUND: We have a StarWind NAS that we are currently using for High Availability storage with our Windows network. Starwind has mirrored drives and multiple ip paths, that the Windows Server ...
-3
votes
2answers
230 views

linux + solaris + delete all characters in file except numbers and dot char [closed]

please advice how to delete all characters in file except numbers and "." Should be implemented by sed or awk or perl ( one line ) or any other idea , so I will add the syntax in my ksh script ...
0
votes
1answer
3k views

SFTP: Move (rename) many files from one folder to another (not one by one)

I need to move all the files from current_path to current_path/DestinationFolder. The version of SFTP I'm using is: SFTP protocol version 2 The available commands are: sftp> help Available ...
2
votes
1answer
306 views

Disable the console beep/bell under Illumos / Solaris?

When I login to the console of my Solaris box any command that would normally generate a bell (tab completion with more than one result, pressing an arrow key one too many times, etc) causes the ...
1
vote
1answer
163 views

Solaris 10 snmp exec multiple strings

I am trying to use snmp to query a directory listing. I have added the exec line to snmp.conf ("exec list /bin/ls /pathtodirectory") and restarted the service. When I perform an snmp walk for the exec ...
0
votes
0answers
99 views

sdparm on solaris: what device name to use?

I am trying to get sdparm working on a Solaris (Express 11) machine. I got it compiled, but stuck at figuring out the device name syntax to use when calling it. Trying something like ...
2
votes
2answers
731 views

can I consolidate a multi-disk zfs zpool to a single (larger) disk?

I have this zpool: bash-3.2# zpool status dpool pool: dpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM ...
-1
votes
1answer
62 views

Sun Solaris 10, /opt folder accidentally become file

While i was copying some files in /opt folder through WINSC, the /opt folder become file. Can you please inform how to make this again in folder?
2
votes
1answer
319 views

How can overlapping NFS permissions be configured?

I am running Solaris 10 on my NFS server. I am struggling with how to setup read-only access to a share from a subnet, but allow read-write access from a system within that subnet. On the Server: ...
3
votes
1answer
239 views

Solaris 10: BIND 9 Chroot Service fails to start with SVCADM but works when run manually from root

I recently upgraded with Solaris patches and after the reboot my Bind Named services go into maintenance mode. bash-3.2# svcs -xv svc:/network/dns/server:chroot (?) State: maintenance since Thu Nov ...
0
votes
1answer
494 views

Ubuntu client can't mount Nexenta NFS

I have a Nexenta storage box (Solaris), which exports an NFS share. Mac OS X and older Ubuntu clients can mount the NFS share just fine, without any special options. Later version of Ubuntu simply ...
3
votes
1answer
398 views

How to set up IP forwarding on Nexenta (Solaris)?

I am trying to set up IP forwarding on my Nexenta box: root@hdd:~# uname -a SunOS hdd 5.11 NexentaOS_134f i86pc i386 i86pc Solaris The box has 2 network interfaces: root@hdd:~# ifconfig -a lo0: ...
-1
votes
1answer
172 views

ZFS Configuration advice

I need some advice on configuring ZFS. Here is what I have: Physical Disks: 4x 3 TB 2x 2 TB 2x 1 TB What is the best configuration for my Vdevs and storage pool. I want to maximaze space but ...
1
vote
1answer
228 views

Can I recover a zpool after it's been exported, given that devices have not been reallocated?

I had a zpool we'll call 'testpool'. testpool had 3 devices included in it, and a single zfs called 'test'. I needed to move 'test' to a new, smaller pool. I wanted to name the new pool the same ...
0
votes
1answer
153 views

Solaris 10: OpenBoot setenv set-defaults

I was trying to change the default mountpoint for /usr in /etc/vfstab. I am running Solaris 10 on a Sun Fire 480R. Unfortunately, I made an error with editing the /etc/vfstab so I could no longer ...
1
vote
1answer
638 views

Solaris 10: How to remove devices from a zpool with /usr currently mounted?

I use Solaris 10 on SPARC. I have /usr legacy mounted on a zpool 'usr-pool'. I now need to move some of the devices in usr-pool to another zpool which is running out of room. What is the safest way ...
10
votes
1answer
381 views

Why is SMF manifest losing configuration data when exported on SmartOS?

I'm running a server process under SMF (Server Management Facility) on Joyent's Base64 1.8.1 SmartOS image. For those not aqauinted with SmartOS, it is a cloud-based distribution of IllumOS with KVM. ...
1
vote
1answer
231 views

Force proxy settings (Solaris\Linux)

I have tried the following from the command line in solaris: DATE TIME user@host> bash bash-3.2$ export http_proxy=http://localhost:8080/ bash-3.2$ echo $http_proxy http://localhost:8080/ ...
0
votes
1answer
76 views

bash + run command in tcsh from bash

when I run from bash shell the command: bash for i in 1 2 3 ; do echo $i ; done 1 2 3 but when I switch to tcsh and want to run: tcsh bash -c for i in 1 2 3 ; do echo $i ; done i: -c: ...
0
votes
1answer
85 views

solaris + manipulate lltconfig command

I work on Solaris 10 machines (eg de1a and du1b). Regarding the lltconfig command, is it possible to view only one device (eg NIC e1000g0) and not the entire list? For example I want to get only ...
1
vote
1answer
102 views

solaris + match the network device name according to IP address

how to find the device name as ( e1000g2 , e1000g3 , etc ) according to his IP address on Solaris machine for example ifconfig -a | grep 10.106.134.133 inet 10.106.134.133 netmask ...
0
votes
1answer
110 views

Zpool list showing blank values

My problem is that when I call zpool list it gives this blank output.... NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT - - - - - - - - However a zfs ...
1
vote
1answer
67 views

tar + tar not open all files

When I want to view the following tar file , then tar show the following three files from /var/tmp tar tvf fix.tar install.sh /usr/cti/apps/swp/dir/script1.sh ...
0
votes
1answer
717 views

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old ...
0
votes
2answers
298 views

Which machines are trying to connect to my Solaris machine via SSH?

I have a Solaris machine ( Solaris 10 ) Is it possible to see from my machine ( logs ) which machines are try to connect to my machine by SSH?
0
votes
1answer
274 views

expect script + how to perform case in expect script

the following expect script target is to print the hostname name from linux/solaris machine and according to hostname results expect script will run linux.ksh or solaris.ksh script ...
0
votes
1answer
201 views

expect script + write “if” in expect script

please advice what's wrong with my exepct syntax ( I run expect in ksh script on Solaris 10 machine ) I want to verify if OS is linux so if it true the expect check if prompt is "#" or ">" and ...
1
vote
2answers
105 views

Issues while untaring in Linux- tarball created from Solaris

I am getting an error- Unknown file type 'A', extracted as normal file while un-tarring a set of files which has acl permissions set. I had created the tar file in solaris as tar -cpfv ...
0
votes
0answers
171 views

Xen 4.2 (stable) and Solaris 10 Unable to Boot

All, I have a Xen 4.2 (stable) machine running a multitude of HVM based virtual machines. However, I'm having an issue getting a Solaris 10 build to boot. Backstory: I received the Solaris 10 ...
0
votes
1answer
397 views

Copy directory structure from Solaris preserving all the permissions and links

I am looking to copy a directory structure with Files, I am not looking for content a 0 byte file will do. I just need to copy the directory tree with 0 byte files and links preserving the properties ...
-3
votes
4answers
107 views

Which version of Solaris for my Sun Sparc system? [closed]

I'm about to buy a used Sun Sparc machine (Sun Blade 2500 Ultrasparc IIIi 1,28Ghz) in order to use it as a personal development server. Problem is, it is sold without any OS. I would like to install a ...
1
vote
2answers
304 views

Compiling PHP on Solaris

I'm compiling PHP with --enable-fpm on Solaris 10 (sun4v sparc SUNW,Sun-Fire-T1000) and it stops at #error Sparc v8 and predecessors are not and will not be supported (see bug report 53310) ...
1
vote
0answers
103 views

Accidentally resilvered 2 drives

We had 2 failed drives in our ZFS raidz1 pool. One had been resilvered to a spare and another was just out. The pool was in degraded mode. I replaced both drives and began the resilver on the ...
0
votes
0answers
159 views

Configuring the user home directories in Linux

I am migrating a Solaris server to Linux and configuring the users in the Linux server Application level. I could see the user entries in /etc/passwd in Solaris but in Linux it is configured as soft ...