03-04-2003
solaris File system question ( UFS )
Hello all,
I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1 give me back all the data? so id there some other thing that i need to take care.?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT FREEBSD
cgread1
CGREAD(3) BSD Library Functions Manual CGREAD(3)
NAME
cgread, cgread1, cgwrite1 -- read/write cylinder groups of UFS disks
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
cgread(struct uufsd *disk);
int
cgread1(struct uufsd *disk, int c);
int
cgwrite1(struct uufsd *disk, int c);
DESCRIPTION
The cgread() and cgread1() functions provide cylinder group reads for libufs(3) consumers. The cgread1() function reads from one cylinder
group, specified by c into the d_cg field of a userland UFS disk structure. It sets the d_lcg field to the cylinder group number c.
The cgread() function operates on sequential cylinder groups. Calling the cgread() function is equivalent to calling cgread1() with a cylin-
der group specifier equivalent to the value of the current d_ccg field, and then incrementing the d_ccg field.
The cgwrite1() function stores cylinder group specified by c from d_cg field of a userland UFS disk structure on disk.
RETURN VALUES
Both functions return 0 if there are no more cylinder groups to read, 1 if there are more cylinder groups, and -1 on error.
ERRORS
The function cgread() may fail and set errno for any of the errors specified for the library function bread(3).
The function cgread1() has semantically identical failure conditions to those of cgread().
The function cgwrite1() 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.1.
AUTHORS
Juli Mallett <jmallett@FreeBSD.org>
BSD
June 4, 2003 BSD