Sponsored Content
Operating Systems AIX "Accidentally" destroyed my filesystem Post 302856401 by Scott on Monday 23rd of September 2013 08:41:05 PM
Old 09-23-2013
Sure, you can edit the file if you're careful. Normally commands like chfs, smit(ty), etc. would update it for you, but as the whole data01 stanza was missing, it's easier just to add it manually.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

3. Emergency UNIX and Linux Support

Accidentally Changed File Ownership to Include a "Comment" [AIX]

Hi. I've had a little mishap. To cut a long story short, I've accidentally recursively ran chown on a directory (actually a bunch of 'em). Not a problem in itself, but I had a slight error in the code I used to get the list of directories and ended up with a comment in the file ownership. ... (15 Replies)
Discussion started by: Scott
15 Replies

4. Red Hat

eliminating "mounted filesystem" messages from syslog

Hello all, perhaps this is an odd request, but I have the requirement none the less. Every time I mount a filesystem (at least an ext4 filesystem), I get a line indicating such in the syslog: Oct 9 22:26:28 sulaco kernel: EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: I... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies

5. Shell Programming and Scripting

Script to echo "File permissions or ownership changed from required " when accidentally changed.

Hi All, I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :( which have similar names ( /var in root and var of some other directory ).:confused: Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies

6. Solaris

ZFS flash install "Unable to create Filesystem error"

Hi, I am trying to get an HPz420 workstation instaled (zfs root pool) via a jump-start server. I have a zfs image (from this workstation) the Solaris release is 10 1/13 update 11. I use a sparc U25 install server, upgraded to the same solaris build 10 1/13. This server is configured to install... (8 Replies)
Discussion started by: sc0rpie
8 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
sys_attrs_pwrmgr(5)						File Formats Manual					       sys_attrs_pwrmgr(5)

NAME
sys_attrs_pwrmgr - pwrmgr subsystem attributes DESCRIPTION
This reference page lists and describes attributes for the Power Manager (pwrmgr) kernel subsystem. To change these attributes so that they take effect each time you boot the system, you create a stanza file with the attribute settings you want and then use the sysconfigdb com- mand to update the system configuration database with the information in this file. See the EXAMPLES section for more information about this process. Refer to the sys_attrs(5) reference page for an general introduction to the topic of kernel subsystem attributes. A value that enables (1) or disables (0) CPU slowdown after the CPU becomes idle. A value that enables (1) or disables (0) all power management functions (for CPU, disks, and graphics hardware). The number of min- utes to wait before powering down registered disks after they become idle. A value that enables (1) or disables (0) disk spindown after registered disks become idle. The number of minutes before entering DPMS off mode after display hardware has become idle. If you specify 0 for this attribute, DPMS off mode is disabled. A value that enables (1) or disables (0) Display Power Management Signaling (DPMS) modes for graphics display hardware. The number of minutes before entering DPMS standby mode after display hardware has become idle. If you specify 0 for this attribute, DPMS standby mode is disabled. The number of minutes before entering DPMS suspend mode after display hardware has become idle. If you specify 0 for this attribute, DPMS suspend mode is disabled. EXAMPLES
The following example shows a sample stanza file named power_mgr.stanza: pwrmgr: default_pwrmgr_state=1 cpu_slowdown=1 disk_spindown=1 disk_dwell_time=20 graphics_powerdown=1 graphics_standby_dwell=5 graphics_suspend_dwell=10 graphics_off_dwell=15 This file: Enables power management in general, plus all three of the power management options for idle hardware (CPU slowdown, disk spin- down, and DPMS modes for graphics displays) Specifies a wait of 20 minutes before spinning down a disk after it has become idle Specifies a wait of 5, 10, and 15 minutes before entering DPMS standby, suspend, and off modes, respectively, after graphics display hardware has become idle See stanza(4) for more information about stanza files. The following command updates the /etc/sysconfigtab database with the information in the stanza file: # sysconfigdb -a -f power_mgr.stanza pwrmgr See sysconfigdb(8) for more information about using this command to update the system configuration database. SEE ALSO
Commands: sysconfigdb(8) Files: stanza(4) Others: sys_attrs(5) System Administration sys_attrs_pwrmgr(5)
All times are GMT -4. The time now is 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy