Hi..
i am using HPUX ..and my /usr and /var file sytem has got full...
now i want to increase this file system size.
so what i have to do..
1st i have to go to init 1(single user mode)
umount the LV
increase the size of LV
then extendfs
then mount the File system and reboot to... (6 Replies)
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)
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)
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)
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)
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)
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)
#!/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)
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)
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
LEARN ABOUT OPENSOLARIS
sbdadm
sbdadm(1M) System Administration Commands sbdadm(1M)NAME
sbdadm - SCSI Block Disk command line interface
SYNOPSIS
sbdadm create-lu [-s, --size size] filename
sbdadm delete-lu lu_name
sbdadm import-lu lu_name
sbdadm list-lu lu_name
sbdadm modify-lu [-s, --size size] lu_name | filename
DESCRIPTION
The sbdadm command creates and manages SCSI-block-device-based logical units that are registered with the SCSI Target Mode Framework
(STMF).
SUB-COMMANDS
The sbdadm command supports the subcommands listed below. Note that if you enter a question mark as an argument to the command (sbdadm ?),
sbdadm responds with a help display.
create-lu [-s, --size size] filename
Create a logical unit that can be registered with the STMF. For the -s option, size is an integer followed by one of the following let-
ters, to indicate a unit of size:
k kilobyte
m megabyte
g gigabyte
t terabyte
p petabyte
e exabyte
If you do not specify size, the size defaults to the size of filename.
The size specified can exceed the size of the file or device.
delete-lu lu_name
Deletes an existing logical unit that was created using sbdadm create-lu. This effectively unloads the logical unit from the STMF
framework. Any existing data on the logical unit remains intact.
import-lu lu_name
Imports and loads a logical unit into the STMF that was previously created using sbdadm create-lu and was since deleted from the STMF
using sbdadm delete-lu. On success, the logical unit is again made available to the STMF. filename is the filename used in the sbdadm
create-lu command for this logical unit.
list-lu
List all logical units that were created using the sbdadm create-lu command.
modify-lu [-s, --size size] lu_name | filename
Modifies attributes of an logical unit created using the sbdadm create-lu command. For the -s option, size is an integer value followed
by a unit specifier. The unit specifiers are as described above under create-lu. When this option is specified, the existing size of
the logical unit is changed to the new size.
The size specified can exceed the size of the file or device represented by lu_name.
OPERANDS
sbdadm use the following operands:
filename
Name of an existing file or a fully qualified path to a raw block device.
lu_name
The 32-byte hexadecimal representation of the logical unit.
EXAMPLES
Example 1 Creating a Logical Unit
The following series of commands creates a 10-gigabyte logical unit.
# touch /export/lun/0
# sbdadm create-lu -s 10g /export/lun/0
# sbdadm create-lu /dev/rdsk/c1t1d0s0
Example 2 Listing Logical Units
The following command lists all logical units.
# sbdadm list-lu
Found 2 LU(s)
GUID DATA SIZE SOURCE
------------------------------------------- ------
6000ae4000144f21d92c47b0dd650002 10737352704 /export/lun/0
6000ae4000144f21d92c47b0de300032 134283264 /dev/rdsk/c1t1d0s0
EXIT STATUS
0
Successful completion.
non-zero
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWstmfu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO stmfadm(1M), attributes(5)SunOS 5.11 12 Jun 2008 sbdadm(1M)