Swap file system | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Swap file system

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-06-2009
bluescreen bluescreen is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 1 February 2013, 2:00 PM EST
Location: Virginia
Posts: 262
Thanks: 8
Thanked 34 Times in 31 Posts
Question Swap file system

This questions only concerns Solaris 10.

Let's say I have swap configured like so in /etc/vfstab:


Code:
/dev/dsk/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t1d0s1       -       -       swap    -       no      -
/dev/md/dsk/d1  -       -       swap    -       no      -

and in SVM:


Code:
d1: Mirror
    Submirror 0: d901
      State: Okay
    Submirror 1: d911
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20962560 blocks (10.0 GB)

d901: Submirror of d1
    State: Okay
    Size: 20962560 blocks (10.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t0d0s1          0     No            Okay   Yes

d911: Submirror of d1
    State: Okay
    Size: 20962560 blocks (10.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t1d0s1          0     No            Okay   Yes

If the mirror stays intact and one of the other drives (either /dev/dsk/c1t0d0s1or /dev/dsk/c1t1d0s1) fail, will my system panic and crash or just give a warning message and continue on?

What if one the mirrored drives fails? Will the system panic and crash or continue on with an error message.


Thanks in Advance!
Sponsored Links
    #2  
Old 05-12-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 17 April 2014, 9:45 AM EDT
Location: Paris
Posts: 4,364
Thanks: 15
Thanked 443 Times in 406 Posts
The system will likely leave the disk failure unnoticed if the swap space isn't used which is the usual case.
Otherwise, I suspect a panic for unrecoverable read errors and possibly something less extreme for write errors.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How To setup a Diskless Swap System. Johnny_Thumbs Filesystems, Disks and Memory 2 10-08-2008 10:37 PM
swap space in veritas file system samy123 Solaris 5 01-27-2008 08:18 AM
/tmp: File system full, swap space limit exceeded frustrated1 Solaris 5 03-18-2007 04:38 PM
File name swap asianmike UNIX for Dummies Questions & Answers 1 04-13-2006 03:37 AM
What swap is my system running on? abhijeetkul UNIX for Advanced & Expert Users 4 03-31-2006 01:08 PM



All times are GMT -4. The time now is 11:28 AM.