Hello Guru,
I am using a Pro*C program to prepare some reports
usaually the report file size is greater than 1GB.
But nowadays program is very slow.
I found out the program is taking much time to write data to file .....
is there any unix related reason to be slow down, the file writting... (2 Replies)
Hi I am trying to do the following:
run a command that looks at a binary file and formats it
find the first line that has what I am looking for (there will be multiple)
print the name of the file that has it
So I am running this but ti's not working
ls -ltr *20080612* | while read line... (3 Replies)
Hi
I want to split a file that has 'n' number of records into 16 small files.
Can some one suggest me how to do this using Unix script?
Thanks
rrkk (10 Replies)
I got the following info from this forum, in regards to configuring my
Solaris x86 to link to the Net:
# echo 192.168.0.1 > /etc/defaultrouter
# route add default 192.168.0.1
# echo nameserver 192.168.0.1 >> /etc/resolv.conf
# cp /etc/nsswitch.dns /etc/nsswitch.conf
So I did... (1 Reply)
Hi, I facing an NFS problem. I have machine1, which has diskA and diskB, and machine2, both are Mandriva 2009 Linux.
When I am on machine2 and NFS mount both diskA and diskB of machine1. Writing to diskA is very fast, but writing to diskB is very slow. I tried different mount rsize and wsize... (2 Replies)
Hi guys,
I am trying something. I wrote a simple shell program to test something where continuous while loop writes on a file over the nfs. The time taken to write "hello" 3000 times take about 10 sec which is not right. Ideally it should take fraction of seconds. If I write on the local disk, it... (1 Reply)
there are few nas shares that would be mounted on the local zone. should i add an entry into the add an entry in zone.xml file so that it gets mounted automatically when the zone gets rebooted? or whats the correct way to get it mounted automatically when the zone reboots (2 Replies)
Hi,
I am facing chgrp issue for a directory on a NAS mounted partation.
issue details :
user1 belongs to two groups grp1(primary) and grp2(secondary) not able to change directory group to secondary.
WORKING on /tmp
#mkdir /tmp/a
#ls -ld /tmp/a
drwxr-xr-x 2 user1 grp1 117 Mar 24... (7 Replies)
Dear friends,
I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users.
Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies
LEARN ABOUT OPENSOLARIS
scconf_quorum_dev_netapp_nas
scconf_quorum_dev_netapp_nas(1M) System Administration Commands scconf_quorum_dev_netapp_nas(1M)NAME
scconf_quorum_dev_netapp_nas - add and remove shared Network Appliance network-attached storage (NAS) quorum devices and change various NAS
cluster quorum configuration properties or states.
SYNOPSIS
scconf {-a|-c|-r} -q name=devicename otheroptions
DESCRIPTION
Note -
Beginning with the Sun Cluster 3.2 release, Sun Cluster software includes an object-oriented command set. Although Sun Cluster software
still supports the original command set, Sun Cluster procedural documentation uses only the object-oriented command set. For more infor-
mation about the object-oriented command set, see the Intro(1CL) man page.
A Network Appliance NAS device can be configured as a quorum device for Sun Cluster. The NAS configuration information consists of:
o a device name, which must be unique across quorum devices
o
a filer name, which defaults to the device name if not specified
o a LUN ID, which defaults to 0 if not specified
To provide support for NAS devices as quorum devices, the administrator must install the quorum device support module provided by Network
Appliance. If this module is not available, scconfprevents the addition of the quorum device. See Sun Cluster With Network-Attached Storage
Devices Manual for Solaris OS for instructions about obtaining the support module.
Additionally, the iSCSI license must be valid for the Network Appliance device.
OPTIONS
The following options can be used for NAS quorum devices. See scconf(1M) for the list of supported generic options. See scconf_quo-
rum_dev_netapp_nas(1M) for options that are specific to shared disk quorum devices.
The add and remove forms of the command are used to add and remove NAS quorum devices to or from the configuration. The change form of the
command is used for changing various properties of cluster quorum configuration.
Before you add a quorum device, you must set up and configure the device and the logical unit number (LUN) on the device to be configured
as a quorum device. For detailed procedures, see your Network Appliance documentation. For Sun Cluster requirements of device setup, see
Sun Cluster With Network-Attached Storage Devices Manual for Solaris OS. After the quorum device is added, you cannot change the type.
Add a NAS quorum device:
-q -a name=devicename,type=netapp_nas[,filer=filer-name][,lun_id=0]
Change a NAS quorum device's configuration:
-q -c name=devicename,{maintstate | reset}
Remove a NAS quorum device:
-q -r name=devicename
The -q option supports the following Network Appliance NAS-specific suboptions:
filer=filer-name
Specifies the name of the device on the network that you can use to access the NAS device when you are using rsh or telnet.
lun_id=0
Specifies the LUN ID on the NAS device that will be a NAS quorum device. The LUN ID defaults to 0.
When scconf is interrupted or fails while performing quorum-related operations, quorum configuration information can become inconsistent in
the cluster configuration database. If an inconsistency occurs, either run the same scconf command again or run it with the reset option to
reset the quorum information.
EXAMPLES
Example 1 Adding Network Appliance NAS Quorum Devices
The following scconf command adds the Network Appliance NAS quorum device qd1.
-a -q name=qd1,type=netapp_nas,filer=nas1.sun.com,lun_id=0
Example 2 Removing Network Appliance NAS Quorum Devices
The following scconf command removes the Network Appliance NAS quorum device qd1.
-r -q name=qd1
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsczu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO Intro(1CL), clquorum(1CL), cluster(1CL), scconf(1M), scconf-quorum-dev-scsi(1M)Sun Cluster 3.2 10 Apr 2006 scconf_quorum_dev_netapp_nas(1M)