Sponsored Content
Top Forums UNIX for Dummies Questions & Answers solaris File system question ( UFS ) Post 34680 by TioTony on Wednesday 5th of March 2003 12:50:47 AM
Old 03-05-2003
Since you are using ufs I doubt you are using any type of volume manager like veritas. The one thing you need to be aware of is that the device may have changed between systems depending on the controller you attached it to. For example, on system1 it may have been c0t1d1 but on system2 it could be c1t1d1 or something else. You just need to be aware of this when you try to mount it on system2.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

increasing ufs file system size in solaris

How do i increase the filesystem size on a root partition? There is a slice with root on it, its like 2 gigs and nothing else is broken out except home. I want to increase root filesystem (and slice) and break out /usr and /var. This is solaris 9, only has solaris volume manager on it. ... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

2. Solaris

How to remove a ufs file system?

Hello, On a box with Solaris 10 I created a ufs file system and now I need to remove that file system. How do I remove a ufs file system on Solaris 10? Thanks. (5 Replies)
Discussion started by: pmichner
5 Replies

3. Solaris

UFS filesystem mounted on 2 hosts question

I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns. What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies

4. Solaris

ufs file system

I ;ve an application which has does not support zfs and i 've a 100Gb Lun with zfs on it , how to go back to ufs .. and use SVM for the same ? (2 Replies)
Discussion started by: fugitive
2 Replies

5. Solaris

UFS File System Periodically Corrupted - What to check?

The system is a SunFire V440 running SunOS 5.10 About once every 3-4 weeks, the system will reboot into single user mode on its own, and then I run svcs -xv, the filesystem service and dependent services will be disabled due to the metadisk file system being corrupted. The I've been doing... (2 Replies)
Discussion started by: the.gooch
2 Replies

6. Solaris

Mount ufs in ZFS system

Hi..I have installed Solaris 5.10 update 9 with ZFS system with RAID1. It is to be integrated with SAN which is UFS and . It is getting mounted but when i am rebooting server,it is getting removed from system. Pls let me know what all step need to follow for this. Thanks !! (15 Replies)
Discussion started by: deljatt
15 Replies

7. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

8. Solaris

restore dump from veritas format using ufs file system

hi all i have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. (3 Replies)
Discussion started by: nikhil kasar
3 Replies

9. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

10. Solaris

OpenSolaris UFS Question

Hi there, Is it possible for OpenSolaris 2009 (or maybe Solaris 10) to work with the old AT&T Unix System V UFS file system? I recently install SysV, but I cant get files and programs to and from it. I would like to know if I could mount the Unix file system from Solaris, or format a floppy that I... (9 Replies)
Discussion started by: BrentBANKS
9 Replies
SBREAD(3)						   BSD Library Functions Manual 						 SBREAD(3)

NAME
sbread, sbwrite -- read and write superblocks of a UFS file system LIBRARY
UFS File System Access Library (libufs, -lufs) SYNOPSIS
#include <sys/param.h> #include <sys/mount.h> #include <ufs/ufs/ufsmount.h> #include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> #include <libufs.h> int sbread(struct uufsd *disk); int sbwrite(struct uufsd *disk, int all); DESCRIPTION
The sbread() and sbwrite() functions provide superblock reads and writes for libufs(3) consumers. The sbread() and sbwrite() functions oper- ate on the superblock field, d_sb, associated with a given userland UFS disk structure. Additionally, the sbwrite() function will write to all superblock locations if the all value is non-zero. RETURN VALUES
The sbread() and sbwrite() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
The function sbread() may fail and set errno for any of the errors specified for the library function bread(3). Additionally, it may follow the libufs(3) error methodologies in situations where no usable superblock could be found. The function sbwrite() may fail and set errno for any of the errors specified for the library function bwrite(3). SEE ALSO
bread(3), bwrite(3), libufs(3) HISTORY
These functions first appeared as part of libufs(3) in FreeBSD 5.0. AUTHORS
Juli Mallett <jmallett@FreeBSD.org> BSD
June 4, 2003 BSD
All times are GMT -4. The time now is 09:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy