01-22-2012
Do you see new LUN in output of format? Do you see any messages saying something like "wrong magic number" in /var/adm/messages?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
An application running on HP-UX constantly generates new text log files ( I think using logpipe ). Any new file created requires to be ftp'ed to an offline server, however I want to make sure that the current file being written should not be transferred.
For examples consider the following files... (3 Replies)
Discussion started by: indianya
3 Replies
2. Shell Programming and Scripting
Hi Friends,
I have to create a new log file everyday and append it with content based on some keywords found in another log file.
Here is what I have tried so far...
grep Error /parentfolder/someLogFile.log >> /parentfolder
/Archive/"testlogfile_error_`date '+%d%m%y'`.txt"
grep error... (6 Replies)
Discussion started by: supreet
6 Replies
3. Shell Programming and Scripting
Hi,
I need to create new directory by increasing the number by 1 of extracted lastly created directory.
e.g.
Log\out_log_1\
Log\out_log_2\
Log\out_log_3\
become
Log\out_log_1\
Log\out_log_2\
Log\out_log_3\
Log\out_log_4\
Can anyone help how to do it in c-shell... (3 Replies)
Discussion started by: Andre_2008
3 Replies
4. UNIX for Advanced & Expert Users
Hi all,
In linux how to create a directory with specified size, so that it can be used only up to the mentioned size.
Actually my question is, whether we can do directory quota in linux.
mounting the directory in a partiton will do that, but do we have any other option... (1 Reply)
Discussion started by: anishkumarv
1 Replies
5. Red Hat
hi all,
i have added new LUN to Redhat 5. i have already scanned LUN devices and it is confirmed that Kernel sees the newly added LUN's. i have used /proc/partitions and verified that my disks are there.
However, i cannot find my disk using fdisk -l command. I am not sure what did i... (2 Replies)
Discussion started by: gisu0602
2 Replies
6. Shell Programming and Scripting
hello everyone,
I am new to perl script and trying to develop a script as follows.
I am trying to Create an array for storing all file names. I am trying to copy $libs into "scratch". however i am unable to do so. Please suggest..
#!/usr/bin/perl
use File::Copy;
#use... (5 Replies)
Discussion started by: Rashid Khan
5 Replies
7. Hardware
Hi ,
I have created one new lun in my SAN storage and make it visible to my HP servers , but the fdisk -l output is somehow confusing. Do not know what to do next ----------
fdisk -l /dev/sdo1
Disk /dev/sdo1 (Sun disk label): 64 heads, 32 sectors, 10238 cylinders
Units =... (7 Replies)
Discussion started by: mishra.sankar
7 Replies
8. AIX
AIX 7.1
New to WPAR, hopefully just missing something simple here.
Creating the WPAR like this.....
(The box where the WPAR is hosted does have an iscsi protocol device)
mkwpar -h wpar08 -l -n wpar08 -N interface=en0 address=xxx.xx.xx.xxx netmask=255.255.255.0 -D devname=/dev/iscsi0 -D... (0 Replies)
Discussion started by: TomR
0 Replies
9. Linux
Hi
I am not familiar with the linux, but I was asked to create a file system on a LUN from the NetApp that was mapped to the linux server.
The server is runing:
uname -a
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
and now... (6 Replies)
Discussion started by: fretagi
6 Replies
10. Linux
Hi
I need to identify a newly attached LUN from NetApp on a linuxserver running uname -o
GNU/Linux
I have first run the df -h and got the following:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_outsystemdb-lv_root
50G 2.7G 45G ... (3 Replies)
Discussion started by: fretagi
3 Replies
LEARN ABOUT OSF1
llconvert
llconvert(8) System Manager's Manual llconvert(8)
NAME
llconvert - Modify lastlog records from DIGITAL UNIX releases 4.0x and prior to new format
SYNOPSIS
/usr/lbin/llconvert [-vnrp?h] input_file [output_file]
OPTIONS
Restore new format to old format. Verbose. Display lines while converting. Do not preserve contents of input file. Formatted print only.
Do not convert. (May be used with the -r option). Display usage message.
DESCRIPTION
The llconvert command reads records from the lastlog file, such as /var/adm/lastlog, and converts the record format to the updated struct
lastlog format. If no output file is specified or if the output file path is identical to the input file path, llconvert makes a backup
copy of the original input file using the following algorithm: If filename.orig exists. Where n is a unique number.
The llconvert command attempts to detect an input file that is in the wrong format (for example, input file is already a new format file).
A warning message is issued in this case, but conversion continues.
RETURN VALUES
Success. An error occurred.
EXAMPLES
To convert an old format accounting file to the new format: llconvert /var/adm/lastlog.prev
Upon completion of this command, /var/adm/lastlog.prev will have been converted to the new format. The original /var/adm/last-
log.prev is renamed to:
/var/adm/lastlog.prev.orig To convert a lastlog file in new format to the old format: llconvert -r /var/adm/lastlog /var/adm/last-
log.old
FILES
Lastlog header file that defines the format for the lastlog file. The active lastlog file.
SEE ALSO
Commands: finger(1)
llconvert(8)