03-06-2003
so that means that all i need to do is to identify the device file of the new disk and then make an entry in vfstab with same os differnet mount point...and i get back the data...Correct me if i'm wrong..tony answer makes it very clear if there is only file system. What if i've say more than one ....the corresponding entry in vfstab get me the data? guess i'll right?
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
ufs_disk_write
UFS_DISK_CLOSE(3) BSD Library Functions Manual UFS_DISK_CLOSE(3)
NAME
ufs_disk_close, ufs_disk_fillout, ufs_disk_fillout_blank, ufs_disk_write -- open and close userland 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
ufs_disk_close(struct uufsd *disk);
int
ufs_disk_fillout(struct uufsd *disk, const char *name);
int
ufs_disk_fillout_blank(struct uufsd *disk, const char *name);
int
ufs_disk_write(struct uufsd *disk);
DESCRIPTION
The ufs_disk_close() function closes a disk and frees internal memory related to it. It does not free the disk structure.
The ufs_disk_fillout() and ufs_disk_fillout_blank() functions open a disk specified by name and populate the structure pointed to by disk.
The disk is opened read-only. The specified name may be either a mountpoint, a device name or a filesystem image. The ufs_disk_fillout()
function assumes there is a valid superblock and will fail if not, whereas the ufs_disk_fillout_blank() function makes no assumptions of that
sort.
The ufs_disk_write() function attempts to re-open a disk as writable if it is not currently.
ERRORS
The function ufs_disk_close() has no failure points.
The function ufs_disk_fillout() may fail for any of the reasons ufs_disk_fillout_blank() might, as well as for any reason sbread(3) might.
The ufs_disk_fillout_blank() may fail and set errno for any of the errors specified for the library functions open(2), strdup(3). Addition-
ally, it may follow the libufs(3) error methodologies in situations where no device could be found to open.
The function ufs_disk_write() may fail and set errno for any of the errors specified for the library functions open(2) and stat(2). Namely,
it will fail if the disk in question may not be written to.
SEE ALSO
open(2), getfsfile(3), libufs(3), sbread(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