Sponsored Content
Operating Systems Solaris Sunfire 280R Solaris 5.9 booting Post 302281421 by incredible on Wednesday 28th of January 2009 10:15:10 PM
Old 01-28-2009
When UFS logging is enabled, UFS write operations are broken into transactions which are stored to a log before being committed to the filesystem. The use of UFS logging maintains filesystem consistency and prevents the need to run fsck against the filesystem. This can significantly reduce the time required to reboot a system.
 

10 More Discussions You Might Find Interesting

1. Solaris

pls help urgently....for SUNfire 280R

hi, i hv received SUNfire 280R system ........for its initial configuration i want to connect to it through hyperterminal from the windows system..........i hv got one serial port to RJ-45 port converter with the system............can anybody tell me the normal console cable which is used to... (3 Replies)
Discussion started by: girish_shukla
3 Replies

2. Solaris

how to do live upgrade from solaris8 to 9 for sunfire 280R?

hi!!!!!! how to upgrade sunfire 280R server from solaris8 to solaris9? pls help me. Thanks & Regards -Vishal (1 Reply)
Discussion started by: Vishal Shroff
1 Replies

3. Solaris

Sunfire 280R Can't Recognize Floppy Drive

Greetings all, I'm in a bit of a situation. I have this Sunfire 280R system that did not have a floppy drive in it, yet we needed one. We grabbed one from another Sun box we had laying around unused, and installed it. The system couldnt recognize it. Tried another floppy drive (non-sun) and... (4 Replies)
Discussion started by: snackiesmores
4 Replies

4. Solaris

Sunfire 280R disks ?

Hi there Does anybody know what the biggest capacity disk I can get into a Sunfire 280R I currently have two 73gb disks , but I need to get these up to the biggest available Any help would be greatly appreciated (4 Replies)
Discussion started by: hcclnoodles
4 Replies

5. Solaris

replacing root disk SunFire 280R

Hi, We had a disk go bad in this SunFire 280R, running Solaris 8 - Generic_117350-46. We replaced the disk and partitioned it. We metadetached all the metadevices but for some reason the new disk is showing up in the metadb as Concat/Stripe and it won't let us re-sync the mirror. We are not... (2 Replies)
Discussion started by: mgb
2 Replies

6. Solaris

Install Network component on Sunfire 280R Solaris 5.9

hi, i just completed installing O/S 5.9 on Sunfire 280R with O/S 5.9. During installation, i wasn't able to add IP, Default gateway, NDS and netmask because the lan port wasn't not active yet. Now that i have a lan port active, how to add network components onto the system? I did ifconfig to... (1 Reply)
Discussion started by: lamoul
1 Replies

7. Solaris

Patch update on sunfire 280R sparc for solaris 5.9

Hi, i just finished installing solaris 5.9 and I'm looking for the tools to tell me if i should update the patches or how to make sure that the current patches are ok? thanks (2 Replies)
Discussion started by: lamoul
2 Replies

8. Solaris

Install SUN O/S 5.9 on Sparc Sunfire 280R

Hi, I' trying to install O/S 5.9 on Sparc system Sunfire 280R. I downloaded CD install and CD 2 from Sun Website but later i dowloaded CD 2 that i forgot for my installation. All CD are in ISO formats. I boot system at OK prompt then issue OK boot cdrom when it asks for CD 1, i removed... (7 Replies)
Discussion started by: lamoul
7 Replies

9. Hardware

Updating OBP on a Sun Sunfire 280R

Hi, I'm a newbie in the Unix world... :confused: I own a Sun Sunfire 280R computer with one 750Mhz CPU. I ordered two CPU of 900Mhz to replace it; however in the Service manual from Sun I read that to use 900Mhz CPU i will need to have a OBP of at least version 4.5.16. When I type .version in... (2 Replies)
Discussion started by: Monkey114
2 Replies

10. Hardware

SunFire 280R maintenance LED is on and no display

I got the system couple of days back from one of my friend. Last night I turned it on and I noticed that maintenance LED is on. At the same time I added an LCD monitor via VGA and nothing was showing on the screen. Though the system does not have any HDD So not sure if system will even show a BIOS... (3 Replies)
Discussion started by: pgirish007
3 Replies
ufs(7FS)																  ufs(7FS)

NAME
ufs - UFS file system SYNOPSIS
#include <sys/param.h> #include <sys/types.h> #include <sys/fs/ufs_fs.h> #include <sys/fs/ufs_inode.h> UFS is the default disk-based file system for the Solaris environment. The UFS file system is hierarchical, starting with its root direc- tory (/) and continuing downward through a number of directories. The root of a UFS file system is inode 2. A UFS file system's root con- tents replace the contents of the directory upon which it is mounted. Subsequent sections of this manpage provide details of the UFS file systems. State Flags (fs_state and fs_clean) UFS uses state flags to identify the state of the file system. fs_state is FSOKAY - fs_time. fs_time is the timestamp that indicates when the last system write occurred. fs_state is updated whenever fs_clean changes. Some fs_clean values are: FSCLEAN Indicates an undamaged, cleanly unmounted file system. FSACTIVE Indicates a mounted file system that has modified data in memory. A mounted file system with this state flag indi- cates that user data or metadata would be lost if power to the system is interrupted. FSSTABLE Indicates an idle mounted file system. A mounted file system with this state flag indicates that neither user data nor metadata would be lost if power to the system is interrupted. FSBAD Indicates that this file system contains inconsistent file system data. FSLOG Indicates that the file system has logging enabled. A file system with this flag set is either mounted or unmounted. If a file system has logging enabled, the only flags that it can have are FSLOG or FSBAD. A non-logging file system can have FSACTIVE, FSSTABLE, or FSCLEAN. It is not necessary to run the fsck command on unmounted file systems with a state of FSCLEAN, FSSTABLE, or FSLOG. mount(2) returns ENOSPC if an attempt is made to mount a UFS file system with a state of FSACTIVE for read/write access. As an additional safeguard, fs_clean should be trusted only if fs_state contains a value equal to FSOKAY - fs_time, where FSOKAY is a con- stant integer defined in the /usr/include/sys/fs/ufs_fs.h file. Otherwise, fs_clean is treated as though it contains the value of FSAC- TIVE. Extended Fundamental Types (EFT) Extended Fundamental Types (EFT) provide 32-bit user ID (UID), group ID (GID), and device numbers. If a UID or GID contains an extended value, the short variable (ic_suid, ic_sgid) contains the value 65535 and the corresponding UID or GID is in ic_uid or ic_gid. Because numbers for block and character devices are stored in the first direct block pointer of the inode (ic_db[0]) and the disk block addresses are already 32 bit values, no special encoding exists for device numbers (unlike UID or GID fields). Multiterabyte File System A multiterabyte file system enables creation of a UFS file system up to approximately 16 terabytes of usable space, minus approximately one percent overhead. A sparse file can have a logical size of one terabyte. However, the actual amount of data that can be stored in a file is approximately one percent less than one terabyte because of file system overhead. On-disk format changes for a multiterabyte UFS file system include: o The magic number in the superblock changes from FS_MAGIC to MTB_UFS_MAGIC. For more information, see the /usr/include/sys/fs/ufs_fs file. o The fs_logbno unit is a sector for UFS that is less than 1 terabyte in size and fragments for a multiterabyte UFS file system. UFS Logging UFS logging bundles the multiple metadata changes that comprise a complete UFS operation into a transaction. Sets of transactions are recorded in an on-disk log and are applied to the actual UFS file system's metadata. UFS logging provides two advantages: 1. A file system that is consistent with the transaction log eliminates the need to run fsck after a system crash or an unclean shutdown. 2. UFS logging often provides a significant performance improvement. This is because a file system with logging enabled converts multiple updates to the same data into single updates, thereby reducing the number of overhead disk operations. The UFS log is allocated from free blocks on the file system, and is sized at approximately 1 Mbyte per 1 Gbyte of file system, up to a maximum of 64 Mbytes. The log is continually flushed as it fills up. The log is also flushed when the file system is unmounted or as a result of a lockfs command. Mounting UFS File Systems You can mount a UFS file system in various ways using syntax similar to the following: 1. Use mount from the command line: # mount -F ufs /dev/dsk/c0t0d0s7 /export/home 2. Include an entry in the /etc/vfstab file to mount the file system at boot time: /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes - For more information on mounting UFS file systems, see mount_ufs(1M). See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ df(1M), fsck(1M), fsck_ufs(1M), fstyp(1M), mkfs_ufs(1M), newfs(1M), ufsdump(1M), ufsrestore(1M), tunefs(1M), mount(2), attributes(5) NOTES
For information about internal UFS structures, see newfs(1M) and mkfs_ufs(1M). For information about the ufsdump and ufsrestore commands, see ufsdump(1M), ufsrestore(1M), and /usr/include/protocols/dumprestore.h. If you experience difficulty in allocating space on the ufs filesystem, if may be due to framentation. Fragmentation can occur when you do not have sufficient free blocks to satisfy an allocation request even though df(1M) indicates that enough free space is available. (This may occur because df only uses the available fragment count to calculate available space, but the file system requires contiguous sets of fragments for most allocations). If you suspect that you have exhausted contiguous fragments on your file system, you can use the fstyp(1M) utility with the -v option. In the fstyp output, look at the nbfree (number of blocks free) and nffree (number of frag- ments free) fields. On unmounted filesystems, you can use fsck(1M) and observe the last line of output, which reports, among other items, the number of fragments and the degree of fragmentation. To correct a fragmentation problem, run ufsdump(1M) and ufsrestore(1M) on the ufs filesystem. 25 Jun 2003 ufs(7FS)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy