Need help on filesystem mounting


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Need help on filesystem mounting

Hi techies,

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 :

Code:
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c7t5001438004C69F4Bd4s1        -       -       swap    -       no
-
/dev/dsk/c7t5001438004C69F4Bd4s0        /dev/rdsk/c7t5001438004C69F4Bd4s0
/       ufs     1       no      -
/dev/dsk/c7t5001438004C69F4Bd4s7        /dev/rdsk/c7t5001438004C69F4Bd4s7
/export/home    ufs     2       yes     -
/dev/dsk/c7t5001438004C69F4Bd4s3        /dev/rdsk/c7t5001438004C69F4Bd4s3
/globaldevices  ufs     2       yes     -
swap    -       /tmp    tmpfs   -       yes     -


Please let me know what mistake I am making here.

Thanking in advance,
Manu

Last edited by DukeNuke2; 03-15-2011 at 04:09 AM..
# 2  
it looks like your vfstab might be correct.

boot into single user mode via the OBP with boot -s and run:

fsck -F ufs /dev/rdsk/c7t5001438004C69F4Bd4s3


fsck -F ufs /dev/rdsk/c7t5001438004C69F4Bd4s7

you said you think you might be missing the mount part? looks like you have your mount points correct based on what you labeled them? are the directories created for /globaldevices and /export/home

as an aside, that is one crazy long dev tree path, but im sure thats the SAN

another option is to boot to the cdrom and do the fsck there. Is this on a Sparc machine or Intel?
This User Gave Thanks to caddyjoe77 For This Post:
# 3  
After booting the system in single user mode,

You can unmount the filesystem(s) and try fsck corrupted filesystem(s)

you can also check for the /var/adm/messages for more information.
# 4  
Thanks Joe,

I got the solution accidentally.Smilie
As I doubted, it was a mount issue only.

The mount points "/globaldevices" and "/export/home" were already defined for local disk.
But once I unmounted those from local disk and mounted on the SAN disk, everything was perfect.

Regards,
Manu
# 5  
Quote:
Originally Posted by manojsomanath
Thanks Joe,

I got the solution accidentally.Smilie
As I doubted, it was a mount issue only.

The mount points "/globaldevices" and "/export/home" were already defined for local disk.
But once I unmounted those from local disk and mounted on the SAN disk, everything was perfect.

Regards,
Manu
you are welcome...one thing i have learned is to not over think anything Smilie

Smilie
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #763
Difficulty: Medium
L4 caches are currently very common in computer systems.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Mounting a directory in a filesystem

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

2. UNIX for Dummies Questions & Answers

Mounting NFS filesystem

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)
Discussion started by: Rockyc3400
2 Replies

3. Shell Programming and Scripting

Mounting filesystem

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)
Discussion started by: maitree
1 Replies

4. Red Hat

Mounting Windows Filesystem

i am new to linux i want to know how to create ntfs partition and mount all windows drives in linux please help me (2 Replies)
Discussion started by: arunkmohan18
2 Replies

5. Filesystems, Disks and Memory

mounting filesystem twice on Solaris

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)
Discussion started by: Actuator
2 Replies

6. Shell Programming and Scripting

Looking for a way to have a portable filesystem (or mounting without root)

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)
Discussion started by: dkulchenko
2 Replies

7. AIX

Automatically mounting a filesystem after a reboot

Hi All, I am new to AIX. I am having problems mounting a filesystem after a system reboot. Steps: 1. Create and Map LUN to host 2. On the host, to detect/configure the LUN: /usr/sbin/cfgmgr 3. Create a filesystem: mkfs -V vxfs /dev/hdisk757 4. Create a mountpoint: mkdir -p... (3 Replies)
Discussion started by: austin4397
3 Replies

8. Solaris

filesystem mounting

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)
Discussion started by: prashantchavan
2 Replies

9. Red Hat

Mounting NTFS filesystem

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)
Discussion started by: woofie
9 Replies

10. BSD

mounting filesystem error

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)
Discussion started by: rbizzell
1 Replies

Featured Tech Videos