Sponsored Content
Full Discussion: file sysstem size problem
Top Forums UNIX for Dummies Questions & Answers file sysstem size problem Post 10358 by Perderabo on Tuesday 13th of November 2001 09:54:39 AM
Old 11-13-2001
First, "init s" is not very safe on HP-UX. I always use the shutdown command, no exceptions ever. Still I am a little surprised that it did this much damage.

ISL is a program that resides in the LIF area. If PDC cannot read the LIF area, it cannot find the ISL program. It is possible to render the disk bootable again. You will need a support CD and and Support Media User's Guide to go with it. The repair procedure is documented in the HP-UX System Administration Tasks manual. In the "Solving LMV Problems" chapter, the first procedure is "Booting When LVM Data Structures Are Lost". You will need to follow this procedure to recover. The Task Manual is online at HP's web site...here is a link to the HP-UX 10.x version. Search for the 11.0 version if that's what you're using. I couldn't find the Support Media User's Guide online, but I guess it's useless without the support CD.

You can get the disk to boot if you follow the above instructions, but I would still be concerned about other damage to the disk. Re-installing might make sense. It's a very good thing that Rado1x advised you to perform a backup.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hp Unix file size problem

We have two files /var/adm/wtmp and /var/opt/OV/tmp/OpC/guiagtdf Could you please tell me if what these files are and if I can purge them as they are very big and Vi will not let me look at them, it gives me a message 'file to long'. Help any ideas Thanks :cool: (3 Replies)
Discussion started by: A Roberts
3 Replies

2. Shell Programming and Scripting

ftp UnixWare File Size Problem

Hi Engg. ! :cool: When I am trafering a file through ftp from windows to UNIX having size about 1.24 GB then at the end of file transfer I got a error message "Extended file size limit (coredump)" and finnally ftp stop, whenever on other UNIX server the same file from windows... (1 Reply)
Discussion started by: Niraj Gopal Sha
1 Replies

3. Filesystems, Disks and Memory

file size problem using Apache 1.3.12 on Solris 8

I am running into a problem after uploading files to a document archive on our local intranet. If the file size is >1 MB, then whenever I get a "list of contents" of the directory, the browser returns ""page cannot be displayed. This seems to happen if any file in the directory is >1MB. Every... (1 Reply)
Discussion started by: Gibby9
1 Replies

4. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

5. SCO

File size problem

I'm working on a IBM PC Serveur 325. I have a sequential file with more than 800000 records. The size of that file is 136755200. I wrote a cobol program (RM cobol) to delete records. Now the file has 180000 records and the size still the same 136755200. What I need to do to decrease the size.... (1 Reply)
Discussion started by: royinfo
1 Replies

6. UNIX for Dummies Questions & Answers

File size problem

I'm working on a IBM PC Serveur 325. I have a sequential file with more than 800000 records. The size of that file is 136755200. I wrote a cobol program (RM cobol) to delete records. Now the file has 180000 records and the size still the same 136755200. What I need to do to decrease the size.... (3 Replies)
Discussion started by: royinfo
3 Replies

7. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

8. Shell Programming and Scripting

file size problem

Hi everyone can you people please help me in the problem below -bash-3.00$ ls -ltr abc abc.tar -rw-r--r-- 1 1hinaa2 17 Jan 17 14:09 abc -rw-r--r-- 1 1hinaa2 2048 Feb 17 07:03 abc.tar -rw-r--r-- 1 1hinaa2 135 Feb 17 07:03 abc.tar.gz why this strange... (2 Replies)
Discussion started by: aishsimplesweet
2 Replies

9. Shell Programming and Scripting

file size problem

Hi Everyone I am having very strange problem I want to know if i do ls -ltr then the file size it return will always be in bytes or it could be different in different scenario. or is there any command which will return the size of file in only one unit. Please help... (8 Replies)
Discussion started by: aishsimplesweet
8 Replies

10. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
runlevel(7)						 Miscellaneous Information Manual					       runlevel(7)

NAME
runlevel - event signalling change of system runlevel SYNOPSIS
runlevel RUNLEVEL=RUNLEVEL PREVLEVEL=PREVLEVEL [ENV]... DESCRIPTION
This page describes the runlevel Upstart event, and the general implementation of runlevels in the Upstart system. For the runlevel tool, see runlevel(8) The runlevel event The runlevel event signals a change of system runlevel. The new system runlevel is given in the RUNLEVEL argument, and the previous system runlevel in the PREVLEVEL argument (which may be empty). Additional environment may follow these depending on the runlevel, and the tool that emitted the event. The shutdown(8) tool will supply an INIT_HALT variable set to either HALT or POWEROFF when called with -H or -P respectively. Runlevels Runlevels are a concept from UNIX(R) System V used by the init(8) daemon or other system initialisation system to define modes of system operation. Eight runlevels are permitted, the first seven are numbered 0-6 and the eighth is named S or s (both are permitted). Services and other system components are said to exist in one or more runlevels. When switching from one runlevel to another, the services that should not exist in the new runlevel are stopped and the services that only exist in the new runlevel are started. This is performed by the /etc/init.d/rc script executed on a change of runlevel (by jobs run on the runlevel event in the Upstart system). This script examines symlinks in the /etc/rc?.d directories, symlinks beginning K are services to be stopped and symlinks beginning S are services to be started. The authorative documentation for this process can be found in the System run levels and init.d scripts section of the Debian Policy Man- ual. This may be currently found at <http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit> Runlevels 0, 1 and 6 are reserved. Runlevel 0 is used to halt the system and 6 to reboot the system. Runlevel 1 is used to bring the sys- tem back down into single-user mode, after which the runlevel will be S. System V initialisation in Upstart The compatible implementation of runlevels permits Upstart jobs to be run on the runlevel event that perform the same functionality as the original System V init(8) daemon. The /etc/init/rc.conf job is run on the runlevel event, thus receiving the RUNLEVEL and PREVLEVEL environment variables. Its sole job is to execute the /etc/init.d/rc script, passing the new runlevel as an argument. Initial system startup is provided by the /etc/init/rc-sysinit.conf job. This is run on the startup(7) event, and is primarily responsible for running the /etc/init.d/rc script with the special S argument and calling telinit(8) to switch into the default runlevel when done. This also handles the -b, emergency, -s and single kernel command-line options as well as specifying an alternate runlevel on the kernel command-line. Finally the /etc/init/rcS.conf job handles the special case of entering the single-user runlevel and providing a login shell. Once that shell terminates, this restarts the rc-sysinit job to re-enter the default runlevel. Implementation of runlevels in Upstart The Upstart init(8) daemon has no native concepts of runlevel, and unlike the System V daemon, makes no attempt to keep track of the cur- rent runlevel. Instead a compatible implementation is provided by the runlevel(8), telinit(8) and shutdown(8) tools supplied with Upstart. The telinit(8) and shutdown(8) tools are used by system administrators to change the runlevel, thus they both generate this runlevel event obtaining the value for the PREVLEVEL environment variable from their own environment (the RUNLEVEL variable) or the /var/run/utmp file. Additionally they update the /var/run/utmp file with the new runlevel, and append a log entry to the /var/log/wtmp file. The runlevel(8) tool may be used by system administrators to obtain the current runlevel, this reads the RUNLEVEL and PREVLEVEL variables from its own environment or reads the current and previous runlevel from /var/run/utmp. The who(1) -r command may also be used to read the current runlevel from /var/run/utmp. This provides full compatibility with System V. During the boot scripts, where the /var/run/utmp file may not yet be writable, the RUNLEVEL and PREVLEVEL environment variables will be available so telinit(8) will still provide the correct values. Once the boot scripts have finished, while the environment variables may no longer be available, the /var/run/utmp file will be and the most recent telinit(8) invocation should have successfully written to it. Boot time records The telinit(8) tool also takes care of writing the boot time record to both /var/run/utmp and /var/log/wtmp. This is written if the previous runlevel in these files does not match the previous runlevel obtained from its environment. In general this occurs when switching from runlevel S to the default runlevel, at which point the /var/run/utmp and /var/log/wtmp files are both writable, and the telinit(8) invocation to do the switch has RUNLEVEL=S in its environment. EXAMPLE
A service running in the typical multi-user runlevels might use: start on runlevel [2345] stop on runlevel [!2345] SEE ALSO
runlevel(8) init(8) telinit(8) shutdown(8) who(1) Upstart 2009-07-09 runlevel(7)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy