Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
2
answers
3342
views
silent and non-interactive installation of a package in Solaris using pkgadd and admin file
The command am giving is: pkgadd -a admin file -d absolutepathofpackage Then, its showing the below error > The following packages are available: > 1 Packagename BigFix Agent > (sparc) 9.2.8.74 > > Select package(s) you wish to process (or 'all' to process > all packages). (default: all) [?,??,q]: a...
The command am giving is:
pkgadd -a admin file -d absolutepathofpackage
Then, its showing the below error
> The following packages are available:
> 1 Packagename BigFix Agent
> (sparc) 9.2.8.74
>
> Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]: all
How to get this step included during silent installation?
Su_scriptingbee
(319 rep)
Oct 7, 2016, 12:15 PM
• Last activity: Jul 29, 2025, 09:05 AM
0
votes
1
answers
63
views
Request: Solaris 11 11/11 (11.0) - live ISO and repo ; Does anybody still got it?
(I am hoping this question squeaks into the accepted set because it's about using Solaris) ---- I'm trying to get hold of ISOs for the Solaris 11 11/11 (ie. 11.0), in particular the Live installation ISO (x86) and the (two part) Repository ISO. I'm also interested in the Automatic Installation (ai)...
(I am hoping this question squeaks into the accepted set because it's about using Solaris)
----
I'm trying to get hold of ISOs for the Solaris 11 11/11 (ie. 11.0), in particular the Live installation ISO (x86) and the (two part) Repository ISO. I'm also interested in the Automatic Installation (ai) ISO, but that one isn't so important... I already have the text-installation ISO (ol-11-1111-text-x86.iso).
It's unfortunately not available on Oracle's Solaris sites (unlike later version), nor have I been able to find these particular ISOs elsewhere (closest I got was defunct FTP-server in Poland). So if anybody know a still working URL or still have them archived somewhere, that would be greatly appreciated.
The ISOs I'm after are:
* sol-11-1111-live-x86.iso
* repo: sol-11-1111-repo-full.iso-a
* repo: sol-11-1111-repo-full.iso-b
Or alternatively, the fully assembled version of the repo:
* repo: sol-11-1111-repo-full.iso
I'm also somewhat interested in the automatic install image:
* sol-11-1111-ai-x86.iso
Why? First I have the other versions of Solaris 11 - I'm just missing this one. Second, my decrepit old computer chocked on the last two versions. Third I like to see if this was before or after Solaris retired their "Primary Administrator" profile.
By the way, was a repo-ISO like this ever released for OpenSolaris? (I know there is one for Solaris Express).
Baard Kopperud
(7253 rep)
Jul 18, 2025, 03:00 PM
• Last activity: Jul 19, 2025, 02:50 PM
0
votes
1
answers
35
views
How do I share an Ubuntu Ext4 partition in a VMWare VM, with another VM?
I am running VMware Workstation 16 Pro on my W11 PC. I have several VMs, including a Ubuntu 22.04.4 LTS VM, and a Solaris 10 VM (sadly still needed for legacy projects). I need to allow the Solaris VM access (full RW permissions) to my "/" partition (ext4, /dev/sda3) in the Ubuntu VM. First, is this...
I am running VMware Workstation 16 Pro on my W11 PC. I have several VMs, including a Ubuntu 22.04.4 LTS VM, and a Solaris 10 VM (sadly still needed for legacy projects). I need to allow the Solaris VM access (full RW permissions) to my "/" partition (ext4, /dev/sda3) in the Ubuntu VM. First, is this even possible? If so, what are the steps necessary for this to happen?
On the Ubuntu VM, I went to Settings -> Sharing, enabled Sharing, and then went into Media Sharing, and shared the folder
/
, and enabled Wired connection 1
. In the Solaris VM created the folder /etc/nfs/ub22
(as root), I su'd to root and entered
mount -F nfs 192.168.18.107:/ /etc/nfs/ub22
(1921.68.18.107 is the IP of the Ubuntu VM) but I get the error
nfs mount: 192.168.18.107: : RPC: Rpcbind failure - RPC: Unable to receive
Brie
(111 rep)
Jul 18, 2025, 03:10 PM
• Last activity: Jul 18, 2025, 06:58 PM
3
votes
1
answers
2333
views
"ndd" equivalent of "ethtool" on Solaris
I've to restore a large file from a NAS backup on Solaris 10 ZFS. I'm using this following command: rsync -av user@xxx.xxx.xxx.xxx:from/NAS/files/system to/solaris/files/system And I've got this error: Disconnecting: Corrupted MAC on input. rsync: connection unexpectedly closed (3778664937 bytes rec...
I've to restore a large file from a NAS backup on Solaris 10 ZFS. I'm using this following command:
rsync -av user@xxx.xxx.xxx.xxx:from/NAS/files/system to/solaris/files/system
And I've got this error:
Disconnecting: Corrupted MAC on input.
rsync: connection unexpectedly closed (3778664937 bytes received so far) [receiver]
rsync: [generator] write error: Broken pipe (32)
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [receiver=3.1.0]
rsync error: error in socket IO (code 10) at io.c(837) [generator=3.1.0
rsync Disconnecting: Corrupted MAC on input.
After a little research the solution should be:
ethtool -K eth0 tx off rx off
As the ethtool command doesn't exist on Solaris, I should use the ndd utility in interactive mode. I didn't find any good explanation and the man page is poor, for getting the equivalent of the command line above. I'm missing something maybe.
dubis
(1480 rep)
Jun 28, 2016, 07:28 AM
• Last activity: Jul 14, 2025, 12:03 AM
1
votes
1
answers
28
views
Comparing Solaris NTP and MacOS SNTP results? Is this accurate time?
What are expected values for offset and jitter from NTP? I have Solaris 11.4 in a VM with NTP configured and am comparing Solaris time stats to my Mac. I notice that MacOS `sntp -sS time.apple.com` reports very low offset of ~0.01s +/- ~0.01s. On Solaris I invoke `ntpq -pcrv` and note my offset is ~...
What are expected values for offset and jitter from NTP?
I have Solaris 11.4 in a VM with NTP configured and am comparing Solaris time stats to my Mac. I notice that MacOS
sntp -sS time.apple.com
reports very low offset of ~0.01s +/- ~0.01s. On Solaris I invoke ntpq -pcrv
and note my offset is ~-6s +/- ~2s to time.nist.gov
.
atod
(155 rep)
Jul 13, 2025, 11:38 PM
• Last activity: Jul 13, 2025, 11:59 PM
0
votes
1
answers
22
views
Solaris 11 or OI zones: redirecting network traffic to NGZ? Using Virtualization?
Does anyone know how to redirect IP packets from a GZ interface to a NGZ? I think this may be due to virtual (multiple) MAC addresses per NIC interacting with VMWare and VirtualBox and there is a [potential solution][1] below involved in placing the Host NIC (through VMWare or VirtualBox in promiscu...
Does anyone know how to redirect IP packets from a GZ interface to a NGZ?
I think this may be due to virtual (multiple) MAC addresses per NIC interacting with VMWare and VirtualBox and there is a potential solution below involved in placing the Host NIC (through VMWare or VirtualBox in promiscuous mode) including the Gust OS NIC. Unsure if it's the best solution.
The GZ is on interface net0 (phys) 192.168.0.10 and NGZ on zone/net0 (vnic) 192.168.0.11. I'm trying to bring up a DNS server in the NGZ at 192.168.0.11. So far, I can use the packet filter / firewall to redirect DNS ports (NGZ won't allow me to use privileged ports) to the GZ for testing. I have NAT working using
pass in on net0 from 192.168.0.11 to any nat-to (net0)
, however I still can't get traffic from the 192.168.0.0/24 subnet through physical net0 to route to the NGZ at 192.168.0.11.
FYI -- I'm using VMWare on a Mac and it created a bridge for the 192.168.0.0/24 subnet.
atod
(155 rep)
Jul 10, 2025, 01:47 AM
• Last activity: Jul 10, 2025, 03:06 AM
9
votes
3
answers
956
views
Solaris 11 cbe: no more updates?
Oracle release 11.4 cbe some years ago, to give Solaris free for non commercial use. I was happy about this, but.. root@solaris2:~# LANG=C pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F http://pkg.oracle.com/solaris/release/ root@solaris2:~# LANG=C pkg update No updates avail...
Oracle release 11.4 cbe some years ago, to give Solaris free for non commercial use.
I was happy about this, but..
root@solaris2:~# LANG=C pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/release/
root@solaris2:~# LANG=C pkg update
No updates available for this image.
Planning linked: 1/1 done
As you can see this version don't get any update since 2023
pkg history|grep install
2023-02-22T18:39:25 uninstall transfer module Riuscito
2023-03-28T00:19:38 install pkg Riuscito
Is my fault?
I've set publisher with this command
pkg set-publisher -G'*' -g http://pkg.oracle.com/solaris/release/ solaris
As you know a system without updates is not safe to use..
As I know Solaris use two repositories: release and support, the support repository is only for subscribers with a support contract, so they release Oracle for free use and.. no updates?
pkg info entire report
Version: 11.4 (Oracle Solaris 11.4.42.111.0)
elbarna
(13690 rep)
Sep 14, 2024, 09:11 PM
• Last activity: Jul 9, 2025, 04:22 PM
3
votes
2
answers
2248
views
Using rsync to preserve permissions only
I'm doing a NAS data migration from a Celerra NS960 to a Unity 500. I have an SMB/CIFS file system I synced using EMCOpy in Windows environment. It's also an NFS (multiprotocol) file system. I have both file systems mounted on a Solaris 10 UNIX server can I just rsync the permissions only from the N...
I'm doing a NAS data migration from a Celerra NS960 to a Unity 500. I have an SMB/CIFS file system I synced using EMCOpy in Windows environment. It's also an NFS (multiprotocol) file system. I have both file systems mounted on a Solaris 10 UNIX server can I just rsync the permissions only from the NS960 to the Unity and not have all the data copy again?
steven qualls
(31 rep)
Oct 11, 2018, 08:39 PM
• Last activity: Jul 9, 2025, 10:01 AM
2
votes
1
answers
2573
views
Samba 3.6.12 and NIS
We were able to use Samba and NIS on Samba 3.0.8 on Solaris 10 U5. When we update system to Solaris 10 U11, samba version became 3.6.12. And we are unable to authenticate like old style. I did not include some parameters on below(create directory mask,etc...) Old `smb.conf` [global] workgroup = WORK...
We were able to use Samba and NIS on Samba 3.0.8 on Solaris 10 U5. When we update system to Solaris 10 U11, samba version became 3.6.12. And we are unable to authenticate like old style.
I did not include some parameters on below(create directory mask,etc...)
Old
smb.conf
[global]
workgroup = WORKGROUPNAME
server string = Samba Server
security = SERVER
password server = dc6n, dc7n
username map = /etc/sfw/username.map
local master = No
dns proxy = No
wins server = dc6n, dc7n
kernel oplocks = No
host msdfs = No
map archive = No
oplocks = No
level2 oplocks = No
old nsswitch.conf
passwd files nis
hosts files nis
We try to set same configuration to Samba 3.6.12, but it did not work. So I decided to use security = ADS with Kerberos. This is worked but the way we did not want. Because, only windows domain users were able to login and NIS users not.
New /etc/smb.conf
workgroup = WORKGROUPNAME
realm = domain.com
security = ADS
password server = dc6n.domain.com
utmp = Yes
idmap config *:backend = tdb
idmap config *:range = 5000-9999
idmap config NETADM:backend = tdb
idmap config NETADM:range = 10000-90000
idmap uid = 100000-500000
idmap gid = 100000-500000
template homedir = /home/%U
template shell = /bin/tcsh
winbind cache time = 1800
winbind enum users = No
winbind enum groups = No
winbind use default domain = Yes
winbind separator = /
create krb5 conf = No
local master = yes
domain login = yes
domain master = yes
preferred master = yes
New /etc/nsswitch.conf
passwd files winbind nis
hosts files winbind nis
New /etc/krb5.conf
[libdefaults]
domain.com = domain.com
dns_lookup_kdc = true
[realms]
symantec.local = {
kdc = dc6n.domain.com
admin_server = dc6n.domain.com
}
[domain_realm]
.domain.com = domain.com
I am able to get users info from AD and NIS with wbinfo
and genent
commands.
How can we authenticate like old style again?
mr unix
(21 rep)
Jan 18, 2014, 09:26 AM
• Last activity: Jun 23, 2025, 07:06 AM
0
votes
1
answers
8744
views
How to set mail subject using variable and ensure attachment is not included in email body
I have the following shell script fragment. var_name='ZZPCI' for emailadd in `cat /tmp/email_list.tmp` do subject_text="Subject with Var Name "$var_name subj_text_novar="Subject without Var Name" email_mssge="this is the message with variable name "$var_name echo "$email_mssge"|mailx -a /tmp/my_repo...
I have the following shell script fragment.
var_name='ZZPCI'
for emailadd in
cat /tmp/email_list.tmp
do
subject_text="Subject with Var Name "$var_name
subj_text_novar="Subject without Var Name"
email_mssge="this is the message with variable name "$var_name
echo "$email_mssge"|mailx -a /tmp/my_report.txt -s "$subject_text" "$emailadd"
echo "$email_mssge"|mailx -a /tmp/my_report.txt -s "$subj_text_novar" "$emailadd"
done
What it does is
a. Sets the variable var_name
b. Reads through the list of email addresses stored in /tmp/email_list.tmp
c. Compiles and sends an email with /tmp/my_report.txt (plain text file) as an attachment
The script is intended to run on a number of different servers, so var_name will change with each server.
The mail command with $subj_text_novar, (does not include $var_name in the subject string), sends the email correctly .
However the mail command with $subject_text which does include $var_name places the contents of the attachment into the main body of the email.
As far as I can make out, it is the actual $-sign causing the problem because hardcoding the var_name value into the string is fine but I don't see why because surely var_name is just a concatenated string
So, how can I set the subject for mail so it includes $var_name and my text file is sent as an attachment?
I am running this on SuSE 11.3 but the solution ideally needs to work on AIX 6.1 and HP UX11.31 as well
Regards
Noj
(1 rep)
Jul 21, 2015, 03:28 PM
• Last activity: Jun 14, 2025, 07:05 PM
3
votes
1
answers
3740
views
How to kill inactive user logins on Solaris?
On a Solaris 10 server if i do a `w`, I get this: 12:26pm up 85 day(s), 1:13, 6 users, load average: 0.38, 0.36, 0.38 User tty login@ idle JCPU PCPU what blah pts/1 3Aug15 2days 632:47 632:47 -bash root pts/2 4Sep15 6days 201:05 77:59 -bash blah pts/3 3Aug15 2days 72:40 -bash blah pts/6 13Jul1560day...
On a Solaris 10 server if i do a
w
, I get this:
12:26pm up 85 day(s), 1:13, 6 users, load average: 0.38, 0.36, 0.38
User tty login@ idle JCPU PCPU what
blah pts/1 3Aug15 2days 632:47 632:47 -bash
root pts/2 4Sep15 6days 201:05 77:59 -bash
blah pts/3 3Aug15 2days 72:40 -bash
blah pts/6 13Jul1560days 3:24 -bash
root pts/22 12:10pm bash
root pts/23 12:17pm -bash
and when I do who -all
, I get
. system boot Jun 18 11:13
. run-level 3 Jun 18 11:14 3 0 S
LOGIN console Jul 12 13:54 . 4681
zsmon . Jun 18 11:15 old 404
LOGIN console Jun 18 11:15 . 876 id= dt term=0 exit=1 (:0)
ostor + pts/1 Aug 3 10:35 old 29213 ()
init.css . Jun 18 11:16 old 1331 id= h1
root + pts/2 Sep 4 08:32 old 13085 ()
ostor + pts/3 Aug 3 10:41 old 29867 ()
roxa pts/4 Sep 9 08:45 old 4082 id=ts/4 term=0 exit=0
roxa pts/5 Sep 9 09:26 old 4369 id=ts/5 term=0 exit=0
ostor + pts/6 Jul 13 07:45 old 26750 ()
roxa pts/7 Sep 9 09:28 old 9010 id=ts/7 term=0 exit=0
roxa pts/8 Sep 9 10:11 old 9242 id=ts/8 term=0 exit=0
roxa pts/9 Sep 9 10:59 old 16138 id=ts/9 term=0 exit=0
roxa pts/10 Sep 9 11:01 old 21040 id=s/10 term=0 exit=0
roxa pts/11 Sep 9 11:02 old 21238 id=s/11 term=0 exit=0
roxa pts/12 Sep 9 11:19 old 21514 id=s/12 term=0 exit=0
ostor pts/13 Sep 9 14:29 old 14367 id=s/13 term=0 exit=0
ostor pts/14 Sep 9 14:58 old 14548 id=s/14 term=0 exit=0
roxa pts/15 Sep 10 08:28 old 13820 id=s/15 term=0 exit=0
roxa pts/16 Sep 10 10:16 old 14340 id=s/16 term=0 exit=0
roxa pts/17 Sep 10 08:40 old 15219 id=s/17 term=0 exit=0
roxa pts/18 Sep 10 16:51 20:07 17179 id=s/18 term=0 exit=0
roxa pts/19 Sep 10 16:59 19:58 18319 id=s/19 term=0 exit=0
roxa pts/20 Sep 11 08:59 3:54 2313 id=s/20 term=0 exit=0
roxa pts/21 Sep 11 11:20 1:32 20981 id=s/21 term=0 exit=0
root + pts/22 Sep 11 12:10 . 28241 ()
roxa pts/23 Sep 11 12:49 0:10 2623 id=s/23 term=0 exit=0
roxa pts/24 Sep 11 12:24 0:29 226 id=s/24 term=0 exit=0
How do I kill all processes for inactive user roxa?
jasmaar
(305 rep)
Sep 11, 2015, 05:02 PM
• Last activity: May 30, 2025, 03:03 PM
0
votes
1
answers
479
views
How to replicate the posix acl default on zfs/nfsv4 acl on Solaris?
Suppose I want a dir, which all files and directories created inside has the group permission of the group owner of the dir, and 770 as default permission. With posix ACL is really easy #create a dir.. mkdir proof #inherit group permission "video" in this example chmod g+s proof/ chgrp video proof/...
Suppose I want a dir, which all files and directories created inside
has the group permission of the group owner of the dir, and 770 as
default permission.
With posix ACL is really easy
#create a dir..
mkdir proof
#inherit group permission "video" in this example
chmod g+s proof/
chgrp video proof/
#with setfacl make the default group with rxw permissions
setfacl -d -m g:video:rwx proof
#other are not allowed
setfacl -d -m o:--- proof/
chmod o-x proof
#give the acl
setfacl -m g:video:rwx proof
Now I create a file and a dir inside the dir proof..
mkdir try1
drwxrws---+ 2 myuser video 4,0K feb 23 01:26 try1
touch file1
-rw-rw----+ 1 myuser video 0 feb 23 01:29 file1
As you can see I obtain what I want, all files in the dir
inherit permissions and has the group "video" as group owner.
This is possible on Linux (posix acl on ext4, btrfs, etc..)
and Solaris (ufs).
Now the question..how to do this with zfs which use nfsv4 acl
on Solaris?
I have tried this making another dir "proof" in a zfs Solaris 11 host
(of course chmod g+s was made)
chmod A=owner@:read_attributes/read_data/execute/list_directory/read_data/write_data/append_data/execute/add_file/add_subdirectory:fd:allow,group:video:read_attributes/read_data/execute/list_directory/read_data/write_data/append_data/execute/add_file/add_subdirectory:fd:allow,everyone@:read_attributes/read_data/execute/list_directory/read_data/write_data/append_data/execute/add_file/add_subdirectory:fd:deny proof
but the result is..
mkdir newdir
drwxr-sr-x+ 2 myuser video 2 23 feb 02.33 newdir
:|
How to obtain the same of posix acl? Thanks
elbarna
(13690 rep)
Feb 23, 2023, 12:35 AM
• Last activity: May 20, 2025, 08:06 AM
3
votes
1
answers
2027
views
Unable to sync NTP v4 client to Windows AD server
I realize that Microsoft doesn't even recommend using a windows server as a time service, however I don't have a choice -- closed network in a windows centric shop. It became an issue when the newer Solaris 11 systems could not sync to the AD servers which come with NTP v4 ( 4.2.8p10 ). It does work...
I realize that Microsoft doesn't even recommend using a windows server as a time service, however I don't have a choice -- closed network in a windows centric shop.
It became an issue when the newer Solaris 11 systems could not sync to the AD servers which come with NTP v4 ( 4.2.8p10 ).
It does work for the Solaris 10 servers using the older v3 (xntpd) as a client. I tried disabling the older client, and enabling the ntp4 client ( 4.2.8p9) on the Solaris 10 systems. So even though it had been working, and uses the same ntp.conf, the v4 client fails to sync.
Anyone have any suggestions on a possible tweak to sync a NTP v4 client to a Windows 2012 R2 AD server?
**ntp.conf**
server AD_SVR1_IP prefer iburst
server AD_SVR2_IP
peer rac-node2
My long term plan is to get the network team to enable a NTP service on one of their device that we all point to.
Thanks
sleepyweasel
(1008 rep)
Oct 13, 2017, 06:36 PM
• Last activity: May 12, 2025, 12:01 PM
0
votes
2
answers
147
views
solaris svm and raid5 : a way for expand on fly?
I know two methods for expand raid5 on solaris svm using UFS one is [this][1] another is to replace disk by disk,suppose i want to remove old small disk and replace with bigger disk using this procedure devfsadm cfgadm -c configure sata2/0 format -d c0t5d0 metadb -a -f c0t5d0s2 metareplace -e myraid...
I know two methods for expand raid5 on solaris svm using UFS
one is this
another is to replace disk by disk,suppose i want to remove old
small disk and replace with bigger disk
using this procedure
devfsadm
cfgadm -c configure sata2/0
format -d c0t5d0
metadb -a -f c0t5d0s2
metareplace -e myraid c0t4d0s2 c0t5d0s2
metadb -d c0t4d0s2
cfgadm -c unconfigure c0t4d0s2
I have replaced all disks with the method above and
my raid5 is online and ok
as metastat said
But after give
metadevadm -vr
and
growfs -M /raid /dev/md/rdsk/d44
The SIZE is the same as raid with old disks
and this is wrong because i replaced
disks with bigger disks.
On linux is really easy to replace
raid5 disk on fly and grow the raid5
(mdadm fail,add,grow,then pvresize..)
on fly,i miss something on solaris svm?
The first method is also good(concatenate+growfs)
but i want to replace disks old(small) with new(big).
Please don't answer zfs,for "study" reason i'm on ufs+svm
elbarna
(13690 rep)
Jul 20, 2016, 01:57 AM
• Last activity: May 10, 2025, 06:31 AM
3
votes
0
answers
34
views
Mount Solaris 9 (Sparc) drive in Solaris 11 (x86)
Need help please to mount a Solaris 9 disk via USB in a Solaris 11 VM. This is so I can get my files off the Solaris 9 disk that I haven't seen in years. Following this doc: https://docs.oracle.com/cd/E53394_01/html/E54782/devusbtasks-22.html I got to this point: root@solaris:~$ rmformat Looking for...
Need help please to mount a Solaris 9 disk via USB in a Solaris 11 VM. This is so I can get my files off the Solaris 9 disk that I haven't seen in years.
Following this doc:
https://docs.oracle.com/cd/E53394_01/html/E54782/devusbtasks-22.html
I got to this point:
root@solaris:~$ rmformat
Looking for devices...
1. Logical Node: /dev/rdsk/c4t1d0p0
Physical Node: /pci@0,0/pci15ad,790@11/pci15ad,7e0@5/cdrom@1,0
Connected Device: NECVMWar VMware SATA CD01 1.00
Device Type:
Bus:
Size:
Label:
Access permissions:
2. Logical Node: /dev/rdsk/c6t0d0p0
Physical Node: /pci@0,0/pci15ad,790@11/pci15ad,770@3/storage@1/disk@0,0
Connected Device: Maxtor 6 Y120P0
Device Type: Removable
Bus: USB
Size: 117.2 GB
Label:
Access permissions: Medium is not write protected.
root@solaris:~$
It sees my Maxtor drive!
root@solaris:/mnt# rmmount rmdisk0 <---- command accepted
root@solaris:/mnt#
root@solaris:/mnt# rmmount NONAME
cannot find 'NONAME'
root@solaris:/mnt# rmmount /dev/dsk/c6t0d0p0:1
cannot find '/dev/dsk/c6t0d0p0:1'
root@solaris:/mnt# rmmount /dev/dsk/c6t0d0p0
cannot find '/dev/dsk/c6t0d0p0'
root@solaris:/mnt# rmmount /dev/rdsk/c6t0d0p0
cannot find '/dev/rdsk/c6t0d0p0'
root@solaris:/mnt# rmmount /dev/rdsk/c6t0d0p0:1
cannot find '/dev/rdsk/c6t0d0p0:1'
root@solaris:/mnt#
Not sure what I'm doing from this point on. Any help is greatly appreciated. Thanks.
John Lyons
(31 rep)
May 8, 2025, 08:40 PM
• Last activity: May 9, 2025, 08:28 AM
0
votes
4
answers
8176
views
Group by and sum in shell script without awk
I have a file like: $ cat input.csv 201,100 201,300 300,100 300,500 100,400 I want to add the values in column 2 which has same value in column 1. Expected output is as follows: $ cat output.csv 201,400 300,600 100,400 I tried to do this by `awk` command but it is not working in Solaris. Please prov...
I have a file like:
$ cat input.csv
201,100
201,300
300,100
300,500
100,400
I want to add the values in column 2 which has same value in column 1. Expected output is as follows:
$ cat output.csv
201,400
300,600
100,400
I tried to do this by
awk
command but it is not working in Solaris. Please provide some alternative.
Sunny Monga
(29 rep)
Nov 21, 2014, 11:02 AM
• Last activity: Apr 23, 2025, 04:49 AM
11
votes
3
answers
61206
views
Getting ZFS to list the physical disks in a zpool
Should be easy .... `zpool status -l rpool` or `zpool status -v` or so I thought . My issue is we're running Solaris 10 on a HP DL380 G5 and I suspect the non native hardware is confusing things. We have 2x zpools, one of which is made up of several disks. However, when I run `zpool status -l rpool`...
Should be easy ....
zpool status -l rpool
or zpool status -v
or so I thought .
My issue is we're running Solaris 10 on a HP DL380 G5 and I suspect the non native hardware is confusing things.
We have 2x zpools, one of which is made up of several disks.
However, when I run zpool status -l rpool
it just lists a single disk.
We have reason to believe a disk is failing or has failed and want to remove it from the zpool but can't list the physical disks ....
What can I do?
Martin
singlespeedbeard
(123 rep)
Dec 8, 2014, 02:23 PM
• Last activity: Mar 8, 2025, 08:12 PM
0
votes
2
answers
74
views
Talk: why freeze terminal?
On Solaris 10 I connect via ssh From one user I did talk marian and appear [Waiting for your party to respond] On other side (user marian, on same machine) talk: connection requested by pippo@solaris10.verde.priv. talk: respond with: talk pippo@solaris10.verde.priv I did (as marian user) talk pippo@...
On Solaris 10
I connect via ssh
From one user I did
talk marian
and appear
[Waiting for your party to respond]
On other side (user marian, on same machine)
talk: connection requested by pippo@solaris10.verde.priv.
talk: respond with: talk pippo@solaris10.verde.priv
I did (as marian user)
talk pippo@solaris10.verde.priv
Return to pippo on his terminal appear
talk: connection requested by LOGIN@solaris10.verde.priv.
talk: respond with: talk LOGIN@solaris10.verde.priv
but screen is freeze
What I miss?
I have tried pts and ttys (/dev/term/a and /dev/term/b)
elbarna
(13690 rep)
Feb 22, 2025, 07:59 PM
• Last activity: Feb 25, 2025, 07:53 PM
2
votes
0
answers
98
views
What's the invocation to connect to WiFi with a specific username and password, skipping certificate checking, on Solaris 11.4?
I'm on a WiFi network where it is necessary to skip certificate checking, and connect to network foo *as username bar* with password baz. What is the Solaris 11.4 invocation to connect to the network, or where is the documentation if something more sophisticated is required than connecting to a part...
I'm on a WiFi network where it is necessary to skip certificate checking, and connect to network foo *as username bar* with password baz.
What is the Solaris 11.4 invocation to connect to the network, or where is the documentation if something more sophisticated is required than connecting to a particular network with a given username and password and skipping certificate checking?
Christos Hayward
(529 rep)
Feb 3, 2025, 06:52 PM
• Last activity: Feb 24, 2025, 05:29 PM
0
votes
0
answers
23
views
Zfs and Solaris 10: a "nice" redundand clone and snapshot situation
I have this situation now zfs list -t snapshot|grep prova provapool/fs2@oggi 1K - 31K - provapool/fs3@domani 19K - 32K - provapool/fs5@domani 1K - 32.5K - I want to remove "fs2@oggi" zfs destroy provapool/fs2@oggi cannot destroy 'provapool/fs2@oggi': snapshot has dependent clones use '-R' to destroy...
I have this situation now
zfs list -t snapshot|grep prova
provapool/fs2@oggi 1K - 31K -
provapool/fs3@domani 19K - 32K -
provapool/fs5@domani 1K - 32.5K -
I want to remove "fs2@oggi"
zfs destroy provapool/fs2@oggi
cannot destroy 'provapool/fs2@oggi': snapshot has dependent clones
use '-R' to destroy the following datasets:
provapool/fs1
provapool/fs4
provapool/fs5@domani
provapool/fs5
provapool/fs3@domani
provapool/fs3
I want to preserve fs3 fs4 fs5 so I promote it to independent fs
zfs promote provapool/fs1
zfs promote provapool/fs4
zfs promote provapool/fs5
I want to remove "fs2@oggi" and...
zfs destroy provapool/fs2@oggi
cannot destroy 'provapool/fs2@oggi': snapshot has dependent clones
use '-R' to destroy the following datasets:
provapool/fs1
provapool/fs4
provapool/fs5@domani
provapool/fs5
provapool/fs3@domani
provapool/fs3
How to exit with this strange situation?
I know a fast way: backup all, destroy with -R option and re-create the three fs, anyone know a more good solution?
elbarna
(13690 rep)
Feb 23, 2025, 06:23 PM
Showing page 1 of 20 total questions