Solved: Disk Unable to Boot


 
Thread Tools Search this Thread
Operating Systems Solaris Solved: Disk Unable to Boot
# 36  
Old 10-30-2013
the out put did not give any messages, and my output of vfstab looks clean to me.
Code:
# cd /a
# /a/usr/xpg4/bin/grep '[^[:print:][:blank:]]' /a/etc/vfstab
# cat -v /a/etc/vfstab
###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/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       yes     logging
/dev/dsk/c1t0d0s5       /dev/rdsk/c1t0d0s5      /opt    ufs     2       yes     logging
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /usr/local      ufs     2       yes     logging
swap    -       /tmp    tmpfs   -       yes     -


Last edited by br1an; 10-31-2013 at 10:57 AM..
# 37  
Old 10-30-2013
Boot server with CD, mount c1t0d0s0 on /a and check what is output
Code:
ls -l /a/dev/rdsk /a/dev/dsk

# 38  
Old 10-31-2013
I get the following error messages..
Code:
# ls -l /a/dev/rdsk
/a/dev/rdsk: No such file or directory
# ls -l /a/dev/dsk
/a/dev/dsk: No such file or directory

# 39  
Old 10-31-2013
I realize that, once again, I am coming into a thread really late so I may have missed a point or two somewhere. However, I would ask these questions..............

Code:
# cat -v /a/etc/vfstab
###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/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       yes     logging
/dev/dsk/c1t0d0s5       /dev/rdsk/c1t0d0s5      /opt    ufs     2       yes     logging
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /usr/local      ufs     2       yes     logging
swap    -       /tmp    tmpfs   -       yes     -

Is there a reason for the /usr filesystem to be mounted on /usr/local rather than /usr?

Code:
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm    3221 -  5187        9.54GB    (1967/0/0)   20016192
  1       swap    wu       0 -  3220       15.63GB    (3221/0/0)   32776896
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3        usr    wm    5188 -  7200        9.77GB    (2013/0/0)   20484288
  4          -    wu   14085 - 14086        9.94MB    (2/0/0)         20352
  5 unassigned    wm    7201 -  9213        9.77GB    (2013/0/0)   20484288
  6 unassigned    wm    5188 -  7200        9.77GB    (2013/0/0)   20484288
  7          -    wu       0 - 14086       68.35GB    (14087/0/0) 143349312

Why is slice 6 duplicating slice 3 (the usr filesystem) and slice 7 is defining the whole disk the same as slice 2?

We all know that mounting the /usr filesystem (if it is indeed configured as a separate filesystem) is critical to the boot process. Failure to mount /usr will usually land you in maintenance mode but in a configuration with Veritas VM I don't know whether that will screw the boot process.

@br1an.......I suggest that you don't react to my comments until other members have responded. These are just my observations. As I say, I'm very late in on this.

Last edited by DukeNuke2; 10-31-2013 at 06:24 PM..
# 40  
Old 11-01-2013
Not a problem hicksd8,

I inherited this server so I have no idea whats going on. Other than the fact is now it's not booting up and I have to bring it back up... somehow..
# 41  
Old 11-01-2013
As I said, the /usr files (as supplied on the distribution) are quite critical. These normally sit in /usr whereas /usr/local normally contains stuff added locally (eg, third party packages and locally compiled packages).

I suggest that you look at your hard disk root filesystem and list the /usr directory to see what's there. (Compare it roughly with another running server).

Boot from cd and mount your hard disk root filesystem under /a
Then list /a/usr
What's there? If that directory is empty then it almost certainly needs the slice 3 mounted there. If it contains the normal /usr stuff, then perhaps slice 3 does indeed contain only 'local' stuff that it mounted under /usr/local as per the current vfstab.

I'm also concerned about slices 6 & 7 on that VTOC but be careful editing the VTOC. You'd need to boot from cd and run 'format'. Edit slices 6 & 7 in turn and enter zeros for the start and size parameters to remove these slice configs, and then write the modified label back. Be careful to fully record what was there before you start in case it goes wrong.

However, let's concentrate on /usr first.
# 42  
Old 11-01-2013
/a/usr has about 1.3GB of data.. on it.
I have another server with the same exact config and is currently running.
The /usr has 1.6GB of data.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Unable to boot up after P2V

Hi, I just P2V an old machine running Redhat 5.5 on a physical server. After P2V was completed, when boot up it got an error. Please refer to the attachment for the error. Please assist. Thanks. (2 Replies)
Discussion started by: freshmeat
2 Replies

2. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

3. Solaris

How to specify local boot up disk in CD boot Grub?

Hi Solaris 10 Experts, I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk... (0 Replies)
Discussion started by: gjackson123
0 Replies

4. Solaris

Unable to boot from mirror disk on x86 server configured under VxVM

Hi, Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot. vxplex -g rootdg dis var-02 vxplex -g rootdg dis swapvol-02 vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies

5. Fedora

[Solved] Unable to start Matlab program

hello everyone, I have Matlab installed on Fedora 16. I tried running it by simply typing on terminal: $ matlabBut it returned the follwoing error: --- can anyone suggest a solution? cheers, peter ---------- Post updated at 10:57 PM ---------- Previous update was at 10:54 PM ----------... (1 Reply)
Discussion started by: peter_071
1 Replies

6. Hardware

[Solved] Boot Lockup After Drive Swap

Hey All, Im using Fedora 2.6 (which is cannot be changed for compatibility reasons). I cloned a drive from a different server and when i added this drive to a new box, during startup it hangs on "Configuring Kernel Parameters:" Is there any way to bypass this process and still boot... (0 Replies)
Discussion started by: robfwauk
0 Replies

7. Red Hat

Unable to boot Fedora 10

Hello, I have a test PC running Fedora 10. Friday evening it was working fine, I have some perl scripts which are scheduled to run every morning. But when I started work this morning, I found I cannot ping the machine. When I switched on the monitor, I saw the GRUB promt :(. I am not sure... (10 Replies)
Discussion started by: SivaramaRaju
10 Replies

8. Solaris

vxvm root disk booting problem - solved with boot -a. How?

Hi All, We had a Sun Netra T1 go down the other day, the root disk was mirrored using vxvm. Upon boot from either disk, we had the following error appear: WARNING: Error writing ufs log state WARNING: ufs log for / changed state to Error WARNING: Please umount(1M) / and run... (4 Replies)
Discussion started by: badoshi
4 Replies

9. Solaris

unable to boot from disk1

I had installed solaris 10 on 440 on disk 0. I had done ufsrestore on disk1 from tape and then rebooted Rebooting with command: boot disk1 Boot device: /pci@1f,700000/scsi@2/disk@1,0 File and args: SunOS Release 5.10 Version Generic_118833-24 64-bit Copyright 1983-2006 Sun Microsystems,... (3 Replies)
Discussion started by: vr76413
3 Replies
Login or Register to Ask a Question