From: "Rakesh S \(EPD-BLRHO-MKTG\)" <raks () wipro ! co ! in>
To: tru64-unix-managers
Subject: Problem of Logging in Solaris7
Date: Tue, 20 Jun 2000 04:18:48 +0000 [thread overview]
Message-ID: <96147428206587.tru64-unix-managers.marc@archive.invalid> (raw)
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.
reply other threads:[~2000-06-20 4:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox