| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
Here is something that has been nagging me this week: I want to create and mount a ramdisk whenever the computer (AIX 5.1; I do not know if it really matters) boots up and before NFS is up. What I came up was a script that would 1) Create the device, allocating the amount of disk space I want, using mkramdisk. 2) Format the device, using mkfs, as jfs 3) Mount device 4) Unmount and remove the device when told to quit. My problem is that I do not know how to make mkfs not to ask if I really want to format that device. There has to be a way around it; I am not the only one who need a ramdisk in AIX. But, how to do so? Also can I tell smit to do all those steps for me so I do not need to run my script? |
|
#3
| ||||
| ||||
Hi We have a productive cluster wich uses a 500MB ramdisk here the steps how we generate the ramdisk and how to get rid of it correctly. This must be done each boot: /usr/sbin/mkramdisk 512M /usr/sbin/mkfs -V jfs /dev/ramdisk0 /usr/sbin/mount -V jfs -o nointegrity /dev/ramdisk0 /mountpoint /usr/bin/chown -R user.group /mountpoint Use as long as you wish and umount it with: /usr/sbin/umount (-f) /mountpoint If you want to delete it use: /usr/sbin/rmramdisk /dev/ramdisk0 Cheers seth |
![]() |
| Bookmarks |
| Tags |
| boot, creating, ramdisk, time |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |