* Problem of Logging in Solaris7
@ 2000-06-20 4:18 Rakesh S (EPD-BLRHO-MKTG)
0 siblings, 0 replies; only message in thread
From: Rakesh S (EPD-BLRHO-MKTG) @ 2000-06-20 4:18 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I am mailing to this list for the first time. Please tell me if
there is any procedure to be followed.
The problem I am facing is explained below, can somebody through light on
this
Discription(This problem is with respect to filesystem logging in Solaris7):
I mount a file system using logging option using command line and
then corrupt the file system ( I am switching off the power to the system
when I am copying some files to the mounted filesystem to corrupt the
filesystem ). Later I try to mount the same filesystem without doing a fsck,
and this works because of the logging feature.
Mount -o logging /dev/dsk/c0t0d0s5 /home1
But I face problem while using the mount(2) system call to do the
same. I am using both the UFSMNT_LOGGING and UFSMNT_LARGEFILES flags for
the mount options. Mounting happens with these two options. Now if i corrupt
the filesystem, next time I am not able to mount it. It asks me for a fsck
to be run on the filesystem.
Ex prog:
struct ufs_args ufs_mount;
ufs_mount.flags = UFSMNT_LARGEFILES|UFSMNT_LOGGING;
length = sizeof(ufs_mount);
mount(dev[i],mntpoint[i],MS_DATA,filesys,(char *)&ufs_mount,length);
Even if I use only UFSMNT_LOGGING option, this is the case.
Off late I have noticed that some times fsck is not required . But this is
not predictable.
Thanks,
Rakesh.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-06-20 4:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-20 4:18 Problem of Logging in Solaris7 Rakesh S (EPD-BLRHO-MKTG)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox