10-13-2011
You can use the fstyp command to find out what filesystem a device or partition is.
The command below shows that the root partition on my system is on a ufs filesystem.
c0t0d0s0 = Controller 0, Target 0, Disk 0, Slice 0
# fstyp /dev/rdsk/c0t0d0s0
ufs
A df command will show your mount points.
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 6.9G 3.6G 3.2G 54% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
<.....SNIP.....>
SRG
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file called clientname_filename.csv
whose contents are like
col1|col2|col3|col4|
510|abc|xxx|450|
510|abc11|yyy|350
510|pqr99|zzz| 670
512|222|439|110
Here i have check the contents of column for data type.
i have a constraints that col1 always contain Numeric value column 2... (12 Replies)
Discussion started by: jambesh
12 Replies
2. Shell Programming and Scripting
I have a shell script that takes a file and uses "syncsort" to sort contents.
I want to add a condition to check whether the input file is textual or binary format. If textual, the "syncsort" will be used to sort the files contents. Otherwise, the sorting process will be skipped.
Note that the... (3 Replies)
Discussion started by: synthea
3 Replies
3. Red Hat
Hello,
I am using LINUX OS. I want to check what is the SAN storage size. How do i check this in server? Any help is really appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies
4. UNIX for Dummies Questions & Answers
Can anybody help me ont to get the command to check storage type and storage size in unix.
Thank u in advanced!! (4 Replies)
Discussion started by: manisham
4 Replies
5. UNIX for Advanced & Expert Users
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (1 Reply)
Discussion started by: aesgs
1 Replies
6. Filesystems, Disks and Memory
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (4 Replies)
Discussion started by: aesgs
4 Replies
7. AIX
Hi,
Here's the version of unix that we are working on.
> uname -a
AIX yyyyyyyy 1 6 00F613E24C00
@:on(cluster303)/iishomea/kmani00->
i have application id: aaabbb
Now i need to check whether the password for the application id set to non expiry type or not.
Moreover, with that unix... (3 Replies)
Discussion started by: kmanivan82
3 Replies
8. Shell Programming and Scripting
Hi,
I have the below script that checks if the .tar file exists in my present directory. If so, extract it and then delete it except if the .tar filename is blent.tar
#!/bin/bash
while ; do
echo "TAR BALL EXISTS"
for f in *.tar; do
echo "File -> $f"
tar -xvf $f
rm -ir $f... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT HPUX
extendfs
extendfs(1M) extendfs(1M)
NAME
extendfs - extend a file system size (generic)
SYNOPSIS
FStype] size] special
DESCRIPTION
If the original file system image created on special does not make use of all of the available space, can be used to increase the capacity
of a file system by updating the file system structure to include the extra space.
The command-line parameter special specifies the device special file of either a logical volume or a disk partition. The special must be
un-mounted before can be run (see mount(1M)).
Options
recognizes the following options:
Specify the file system type on which to operate (see
fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined
from the file
Query the size of
special. No file system extension will be done.
Verbose flag.
Specifies the number of
blocks to be added to the file system. If size is not specified, the maximum possible size is used.
EXAMPLES
To increase the capacity of a file system created on a logical volume, enter:
SEE ALSO
fstyp(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_wrapper(5).
extendfs(1M)