How to add swap in solaris 11 and still will take effect even you restart the server

Hi,
I would like to ask on how to add swap file in solaris 11 will still take effect even you restart the server.
swap -l
zfs create -V 2G swappool/swap2
swap -a /dev/zvol/dsk/rpool/swap2
Regards,
Andrew

Hi Andrew,
After completing the steps above, you will need to add an entry for the new swap volume to the /etc/vfstab as described in this doc if you want the swap volume to be used when the system is rebooted:
Adjusting the Sizes of Your ZFS Swap and Dump Devices - Managing ZFS File Systems in Oracle® Solaris 11.2
Thanks, Cindy

Similar Messages

  • Anyone know how to add audio without image and still use autoplay feature?

    Does anyone know how I can add audio to a webpage without having to add an image and still be able to use the autoplay feature? Adding as hyperlink doesn't accomplish what I'm after. Thanks in advance for the education!

    You can use the "hidden" song file method...
    http://roddymckay.com/Satellite/CatchTheTide.html
    You don't have to hide it completely if you don't want to - just reduce it to a small dot.

  • How can I alphabatize my bookmarks and still keep my most visited ones at the top?

    If there are instructions for this I haven't found them.
    == This happened ==
    Every time Firefox opened
    == not helpful

    Sorry, there's no preference for sorting in that manner. Sort by Name doesn't account for the most visited, it's a straight alpha sort per folder. The Most Visited folder, on the Bookmarks Toolbar, is actually a separate algorithmic calculation based upon how often a bookmarked website is visited, and I believe that calculation includes all pages visited at that domain based upon the browsing history.

  • I am trying to use automator to make a simple app that when I open it, it comes up with a dialog box that asks for a link that you want to download. and it will download it for you using the curl -O shell script in Terminal. How would I do it?

    I want this so I can just download anything I want by just having the link and I have made a few things with shell scripts in automator before, just never anything where i need to input a value into the shell script.

    Easy:

  • HT4623 Any Ideas, I just updated an Iphone 4S and it will take input VERY slow from the key board ?

    Entry from the key board is about 6 seconds per letter.

    Settings > General > Reset > Reset All Settings
    You will not lose any data. This will just clear the settings in your settings app

  • All non-Apple apps will not open on my phone. I restored as a new phone and still will not work

    All non-Apple apps will not open on my phone. I restored as a new phone and still will not work

    Hello there, KScotty.
    The following Knowledge Base article offers up some great steps for troubleshooting apps installed on your iOS device:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to add a navigation Panel and Zoom Slider Bar using Java API

    Hello,
    I am using Mapviewer Java bean as I have to use Oracle Mapviewer in Java Stanalone application.Please can anyone tell me how to add a Navigation panel and Zoom Slider in Java API. I found the API s for same in Java Script but not in Java.Kindly help.
    I am using Oracle Mapviewer 11g.

    This is forum sponsored by Adobe make of Acrobat and Reader. Since Chrome and FireFox web browser have chosen to use their own viewer you might get more help in their forums or customer support.

  • How to add one date column and charecter column

    hi all,
    i have 3 column start_date(date),end_date( date),duration (varchar2)
    i am trying to add start_time and duration like this
    end_date := to_char(start_time) + duration;
    but its showing value_error
    how to add one date column and charecter column.
    Thanks

    you need something that does:
    end_date (DATE) := start_date (DATE) + <number of
    days> (NUMBER)Not necessarily, because if the duration is just a string representation of a number then it will be implicitly converted to a number and not cause an error
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('01/07/2007','DD/MM/YYYY') as start_dt, '3' as duration_days from dual)
      2  -- END OF TEST DATA
      3  select start_dt + duration_days
      4* from t
    SQL> /
    START_DT+
    04-JUL-07

  • In Yosemite, I can;t operate for more than a few minutes with Keychain or Safari asking for my login password.  How can I turn this off, and still be safe?

    Using Yosemite, I an't seem to work for more than a few minutes without being asked for my login password.  Keychain wants it, Safari wants it, iCloud wants it..the list goes on.  Then in 10 minutes or so, they all want it again.  Passwords are being stored by Safari as usual, but new tabs or pages bring up the request.  How can I turn this off and still have protection?

    Tutorial: Resolving Keychain Issues
    If you can't access your keychain, or forget your password If you can't get into your keychain file because you've forgotten your password or the keychain file appears to be corrupt, there are a couple of options.
    First, if you've forgotten your password, you can use the "Keychain First Aid" utility to make the keychain password the same as the login password. This can be accomplished via the following process:
      1. Open Keychain Access (located in Applications/Utilities)
      2. Go to the "Keychain Access" menu and select "Preferences"
      3. Click the "First Aid" tab
      4. Make sure the "Synchronize login keychain password" box is checked
      5. Close the Preferences window
      6. Go to the "Keychain Access" menu and select "Keychain First Aid"
      7. Enter your username and password
      8. Click the "Repair" button
    The second option is to completely delete your keychain then recreate it. This routine is useful if your keychain appears to be corrupt or otherwise inaccessible. This can be accomplished as follows:
      1. Launch Keychain Access (located in Applications/Utilities)
      2. Click "Show Keychains" in the lower-left corner of the window.
      3. Select the problematic keychain from the left-hand pane.
      4. Navigate to the "File" menu and select "Delete Keychain '(name of keychain)'"
      5. Check all options for deletion and press "OK"
      6. Create a new keychain by going to the "File" menu, then "New" and selecting
          "New Keychain"
      7. You can now make this keychain your default if you desire by selecting it, then
          going to the "File" menu and selecting "Make '(name of keychain)' Default"
    Login as root and perform repair In some cases, problems with keychains can only be resolved when logged in as the root user.
    First, you want to enable the root user:
      1. OS X Mountain Lion: Enable and disable the root user
      2. OS X Lion: Enable and disable the root user
      3. Mac OS X 10.6: Enabling the root user
      4. Enabling and using the "root" user in Mac OS X
    After enabling the root user, and logging in under this account, again open Keychain Access. First attempt repairs using Keychain First Aid, and failing that, delete then recreate the keychain as described above while logged in as root.
    Persistently asked for stored passwords If you are persistently asked for passwords in various applications that you have specified should be remembered in a keychain, your "login" keychain may not be active for one reason or another.
    Navigate to ~/Library/Keychains/ (this is the Library folder inside your user's home folder). Find the file named "login.keychain" and double-click it.
    Failing that, select the "login" keychain within the Keychain Access application and make sure it is the default keychain by going to the "File" menu and selecting "Make 'Login' Default"
    Turn off Keychain synchronization in applications having problems If specific applications are experiencing issues when accessing password-protected material, the Keychain may be to blame.
    The above comes from an article published on MacFixit.com.

  • How do i skip process validations and still update the model?

    how do i skip process validations and still update the model? This has got to be a bug or a really huge design flaw. And no I don't want to using 'binding' to bind to every component on my form just so I can set its value. I just want to use value binding.
    Perhaps there should be a FacesContext.getCurrentInstance().updateModel() method?

    how about if I want clear the form or load a new model:
    <h:commandButton action="#{customer.clear_action}" immediate="true" value="clear" />
    <h:commandButton action="#{customer.load_action}" immediate="true" value="load" />
    public void clear_action() {
    Customer c = new Customer();
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();
    public void load_action() {
    Customer c = new Customer(1000);
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();

  • How do i delete imovie videos and still have them on my time capsule

    how can i delete imovie videos and still have them on my timecapsule

    You can copy them to the TC.. do not expect Time Machine to keep something that you delete though..
    And please recognise you are breaking the idea of Time Capsule.. it is primarily a backup target for TIme Machine.. once you move files to the TC and delete them on the computer.. the only copy of the file is now on the TC.. which has no automated backup.. no easy means of recovery if the drive fails. no parts even.. Apple do not fix.. they give you a replacement and chuck your old one.
    You are hoping that the TC will preserve your files.. when it is well known to be a less than reliable device.
    Think hard if this is really where you want to go.

  • How can add Hours in datetime and result is also in datetime?

    Hi Friends,
    How can add Hours in datetime and result is also in datetime?
    I want such as 22-11-2006 10:30=22-11-2006 08:30+2 from dual
    Select (22-11-2006 08:30+2) from dual;
    And Result should be in this form 22-11-2006 10:30
    Best regards,
    Shahzad

    sql>
    select col1, col1 + interval '1' hour
    from t;
    COL1 COL1+INTERVAL'1'HOUR
    04-DEC-06 12.21.55.000000 PM  04-DEC-06 01.21.55.000000000 PM                                                                                                                                                                                                                                                                                                                               

  • How to create a new variant and a job sheduled to use it for the ......

    How to create a new variant and a job sheduled to use it for the exisisting programs

    Hi
    1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
    standardized format. The list data is displayed as a table on the screen.
    The ALV Grid Control offers a range of interactive standard list functions that users need
    frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
    export list (in different formats), and so on. These functions are implemented in the
    proxy object class. You as the programmer have the possibility to turn off functions not
    needed. In most cases the implementations of the standard functions provided by the
    control are sufficient. However, if required, you can adjust these implementations to
    meet application-specific needs.
    You can add self-defined functions to the toolbar, if necessary.
    The ALV Grid Control allows users to adjust the layout of lists to meet their individual
    requirements (for example, they can swap columns, hide columns, set filters for the
    data to be displayed, calculate totals, and so on). The settings (list customizing) made
    by a specific user are called a display variant. Display variants can be saved on a userspecific
    or on a global basis. If such display variants exist for a list, they can be offered
    to the user for selection. If a display variant is set as the default variant, the associated
    list is always displayed based on the settings of this variant.
    2. REUSE_ALV_LIST_DISPLAY
    REUSE_ALV_GRID_DISPLAY
    REUSE_ALV_FIELDCATALOG_MERGE
    REUSE_ALV_COMMENTARY_WRITE
    3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
    6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
    7.fieldcat-fieldname
    fieldcat-ref_fieldname
    fieldcat-tabname
    fieldcat-seltext_m
    5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    The report output can contain up to 90 columns in the display with the wide array of display options.
    <b>The commonly used ALV functions used for this purpose are;</b>
    1. REUSE_ALV_VARIANT_DEFAULT_GET
    2. REUSE_ALV_VARIANT_F4
    3. REUSE_ALV_VARIANT_EXISTENCE
    4. REUSE_ALV_EVENTS_GET
    5. REUSE_ALV_COMMENTARY_WRITE
    6. REUSE_ALV_FIELDCATALOG_MERGE
    7. REUSE_ALV_LIST_DISPLAY
    8. REUSE_ALV_GRID_DISPLAY
    9. REUSE_ALV_POPUP_TO_SELECT
    Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
    But either no.7 or No.8 is there in the Program.
    <b>
    How you call this function in your report?</b>
    After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
    Then use follwing function module.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = 'Prog.name'
    I_STRUCTURE_NAME = 'I_ITAB'
    I_DEFAULT = 'X'
    I_SAVE = 'A'
    TABLES
    T_OUTTAB = I_ITAB.
    IF SY-SUBRC <> 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC .
    ENDIF.
    ENDFORM. " GET_FINAL_DATA
    The object F_IT_ALV has a field, the activity ACTVT, which can
    contain four permitted values: 01, 02, 03 and 70. Each of the
    activities 01, 02 and 70 controls the availability of particular
    functions (in the menu and the toolbar) of the ALV line item list:
    a) 01: "Settings -> Display variant -> Save..."
    b) 02: "Settings -> Display variant -> Current..." and
    "Settings -> Display variant -> Current header rows "
    c) 70: "Settings -> Display variant -> Administration..."
    Activity 03 corresponds to the minimum authorization, which is the
    most restricted one: The user can only select layouts which have
    been configured already. In particular, all of the other functions
    named above are inactive with activity 03.
    Now if you want to permit a user to change the column selection and
    the headers as well as to save the layout thus created, for example,
    but if you do not want to permit the user to administrate the
    layouts, you grant him or her the authorization for activities 01
    and 02.
    Check this link it will be mosty usefull for u
    http://www.sap-img.com/fu017.htm
    Reward all helpfull answers
    Regards
    Pavan

  • How come, when I add myYahoo! email account to MAIL, after verifying, I always get the "server unavailable. please try again later"

    How come, when I add myYahoo! email account to MAIL, after verifying, I always get the "server unavailable. please try again later"

    THANKS! this worked !!!
    I hit "DELETE THIS ACCOUNT" on my iphone (this is the Yahoo I tried to set up by "picking" it from the list that the iphone5 gives you) and then confirmed to delete everything.
    THEN: while in Mail (still in the Settings Section) I tapped on "ADD ACCOUNT..." but this time tapped on "OTHER" and manually put in my yahoo ID and password and I did not even have to go to the   SMTP or IMAP incomming/outgoing stuff at all. But I checked it out under the "ADVANCE" tab and it was already correct for yahoo. (ALMOST SEEMED TOO EASY)
    Went to my home screen and tapped on MAIL and my yahoo email loaded up just right!
    Now, I have no idea if I have any other issues like if I delete mail on the iphone; does it delete properly on my ipad...etc..etc. but one problem at a time is getting fixed. THANKS!

  • Someone has hacked my things, how do I turn wifi off, and when will it be safe to go back on?

    Someone has hacked my things, how do I turn wifi off, and when will it be safe to go back on? Also, do I need to reset everything? I have already changed passwords, covered my webcam, etc. Will they still have access to my computer?

    Could you explain what you mean by 'Someone has hacked my things'?
    What Mac do you have, with what version of OS X?
    What security do you have on your wi-fi?

Maybe you are looking for