I am pretty new to Solaris. So the qstn might be a silly one.
I had a local disk with Solaris installed.
I have done ufsdump to a SAN disk and after that s3 and s7 slices are giving the following error : "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY."
I had the following slices defined in the local disk.
s0 - root
s1 - swap
s3 - globaldevices
s7 - /export/home
When I partitioned the SAN disks, it did not allow me to give the "globaldevices" and "/export/home" tags. Instead I had to give "var" and "home" respectively.
After ufsdump, I set the SAN disk as boot-device and rebooted the machine.
Root and swap comes up fine. But s3 and s7 gives the above error.
I think I am missing the mounting part in /etc/vfstab.
My current /etc/vfstab file looks like :
Please let me know what mistake I am making here.
Thanking in advance,
Manu
Last edited by DukeNuke2; 03-15-2011 at 03:09 AM..
I get error that I have to rund fsck manually on my filesystem, but when I go to run fsck on filesystem ad1s1e I get an error that says can't open device not configured so fsck won't rund on that filesystem. I am only booting up in single user mode. I noticed when I look in the fstab file the... (1 Reply)
I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem.
Also the... (9 Replies)
Hi all,
I have a question regarding filesystem mounting.
I have one Sun box(V240) and a NAS on a network. Sun machine shows the following output of df -k command.
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d0 11094316 8509226 2474147 78% ... (2 Replies)
I have a free software project I'm working on that provides portable versions of Linux applications capable of being carried around on removable media, with settings and documents traveling along.
While developing the portable launcher, I fell into a problem: FAT32 partitions do not support... (2 Replies)
Hello,
In a shared storage environment is their anything to stop being able to mount the same filesystem on two hosts by accident, a flag being set or something on the storage?
If it did happen would one of the hosts panic? (2 Replies)
Hi,
I have a strange problem with iscsi.
My vfstab entry looks like this:
/dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi -
After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid"
/zones/ssapp0895v01 on... (0 Replies)
Could anyone help me please as I am stuck up.
I want to mount /home/dun/maitree location of server A in server B to location /home/dun/tibco .Both server A and server B are Linux machine .The problem is that /home/dun/tibco of server B has some files and directory in it so after doing this... (1 Reply)
Hi All,
I need to mount an nfs filesystem as below.
xxx.xx.xx.xxx:/media/nss/Rocky Catherine/logs
For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work?
mount "xxx.xx.xx.xxx:/media/nss/Rocky... (2 Replies)
Hi All,
Recently I came to know my / root file system is getting full because of application directory /siebel/
I have one option.
1) Down the application , take full backup
2)change the filesystem ownership
2)copy the contents into that filesystem
cp -pr /siebel/* /siebelfs/*
3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies
LEARN ABOUT HPUX
vfstab
vfstab(4) File Formats vfstab(4)NAME
vfstab - table of file system defaults
DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings:
device device mount FS fsck mount mount
to mount to fsck point type pass at boot options
The fields in the table are space-separated and show the resource name (device to mount), the raw device to fsck (device to fsck), the
default mount directory (mount point), the name of the file system type (FS type), the number used by fsck to decide whether to check the
file system automatically (fsck pass), whether the file system should be mounted automatically by mountall (mount at boot), and the file
system mount options (mount options). (See respective mount file system man page below in SEE ALSO for mount options.) A '-' is used to
indicate no entry in a field. This may be used when a field does not apply to the resource being mounted.
The getvfsent(3C) family of routines is used to read and write to /etc/vfstab.
/etc/vfstab can be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a
swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the
swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry.
EXAMPLES
The following are vfstab entries for various file system types supported in the Solaris operating environment.
Example 1: NFS and UFS Mounts
The following entry invokes NFS to automatically mount the directory /usr/local of the server example1 on the client's /usr/local directory
with read-only permission:
example1:/usr/local - /usr/local nfs - yes ro
The following example assumes a small departmental mail setup, in which clients mount /var/mail from a server mailsvr. The following entry
would be listed in each client's vfstab:
mailsvr:/var/mail - /var/mail nfs - yes intr,bg
The following is an example for a UFS file system in which logging is enabled:
/dev/dsk/c2t10d0s0 /dev/rdsk/c2t10d0s0 /export/local ufs 3 yes logging
See mount_nfs(1M) for a description of NFS mount options and mount_ufs(1M) for a description of UFS options.
Example 2: pcfs Mounts
The following example mounts a pcfs file system on a fixed hard disk on an x86 machine:
/dev/dsk/c1t2d0p0:c - /win98 pcfs - yes -
The example below mounts a Jaz drive on a SPARC machine. Normally, the volume management daemon (see vold(1M)) handles mounting of remov-
able media, obviating a vfstab entry. If you choose to specify a device that supports removable media in vfstab, be sure to set the mount-
at-boot field to no, as below. Such an entry presumes you are not running vold.
/dev/dsk/c1t2d0s2:c - /jaz pcfs - no -
For removable media on a SPARC machine, the convention for the slice portion of the disk identifier is to specify s2, which stands for the
entire medium.
For pcfs file systems on x86 machines, note that the disk identifier uses a p (p0) and a logical drive (c, in the /win98 example above) for
a pcfs logical drive. See mount_pcfs(1M) for syntax for pcfs logical drives and for pcfs-specific mount options.
Example 3: CacheFS Mount
Below is an example for a CacheFS file system. Because of the length of this entry and the fact that vfstab entries cannot be continued to
a second line, the vfstab fields are presented here in a vertical format. In re-creating such an entry in your own vfstab, you would enter
values as you would for any vfstab entry, on a single line.
device to mount: svr1:/export/abc
device to fsck: /usr/abc
mount point: /opt/cache
FS type: cachefs
fsck pass: 7
mount at boot: yes
mount options:
local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache
See mount_cachefs(1M) for CacheFS-specific mount options.
Example 4: Loopback File System Mount
The following is an example of mounting a loopback (lofs) file system:
/export/test - /opt/test lofs - yes -
See lofs(7FS) for an overview of the loopback file system.
SEE ALSO fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), getvfsent(3C)
System Administration Guide: Basic Administration
SunOS 5.10 21 Jun 2001 vfstab(4)