Solaris 10 virtual disk (ramdisk) create for sun4v (T-2000 simulator) architecture
have been trying to create a 2 GB ramdisk (virtual) to run on my T-2000 simulator (Legion) which has sun4v architecture. I have a SPARC workstation which runs on sun4u architecture with Solaris 10.
I have created a ramdisk image using dd command, newfs, then used ufsrestore to restore the filesystem taken from the original virtual disk (disk.s10hw2 - sun4v virtual disk that comes with the simulator - 512 MB) and installed bootblk on the new ramdisk (used the sun4v bootblk). But when I try to boot this newly created ramdisk (2GB), it starts loading smf services and then gives fatal error saying "fmd" service daemon error and goes into some sort of maintenance mode or would just freeze.
The reason I need this bigger disk is, I need to install the SUNWpool package which is not available in the original ramdisk (disk.s10hw2). I am able to load the newly created ramdisk on Legion on slice 3 but when I try to add pkg (/export/var/spool/pkg SUNWpool), it complains:
"Cannont find required execuatble /usr/bin/7za"
can someone guide/point me step by step to create a bigger ramdisk with all these packages. I am just stuck and trying different mix and match, still no luck..
If you have the ramdiskadm utility, then all you should have to do is;
Create the Ramdisk with :- ramdiskadm -a "name" 2g
Then create the filesystem using newfs.
Then set the requred boot block
Finally mount the file system
I would show an example if I could but due to changes here, all my solaris installs are virtual and very small and creating a ramdisk would probably impact on performance also I have a change control board to contend with.
Give the above a try and let me know how you get on.
Hello Dave,
when I tried doing ramdiskadm, I get error message of Resource temporarily unavailable
I have generally followed this procedure to create a new ramdisk (Cloned from the sun4u architecture):
Create backup of the root folder "/" (sun4u):
This backup is almost 8GB.
Created an empty file of 8GB size:
Used the new.img as a block device
Created a UFS on top of the new.img file
Restored the initial filesystem using ufsrestore
Made the ram disk image bootable
Unmounted the image
Modified 1up.conf file in legion to the following:
Booted on Legion (sun4v architecture) using boot -v command.
Problem is, it starts loading smf services and after loading all of them (89/89) it gets error message that fmd service error and a bunch of error codes with it. eventually gets into maintenance mode.
I need to run Solaris Resource Pool Management (pooladm, poolcfg etc) which uses SUNWpool package. The original ramdisk is too small and does not have this package installed. Even when I tried installing the package on the original ramdisk by putting SUNWpool package at the /var/spool/pkg, it installed successfully but unable to turn on the service daemon (poold) by saying
I am not completely sure what am I doing wrong in the procedure.
Last edited by rbatte1; 08-28-2014 at 01:44 PM..
Reason: Add CODE & ICODE tags and set to confused face rather than textual sad face
I'm getting the resource issue as well, unfortunately I don't really have time to investigate at the moment.
However there may be a much simpler way of doing this, as you are using ufs on these systems - check out the following if you have time and a good backup
Change the config of the existing ramdisk in the legion config to the size that you reqire, I assume that it will still show up as a 2Gb drive as there will be additional parameters that have to be configured to make the drive active.
Then it may be possible to use the 'growfs' command to expand into the allocated space, you may want to try that on the copy made using "dd".
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Hi,
I have installed oracle 10g release 2 on solaris 10 Zone. I want to configure ASM in local Zone using virtual disks in place of real disks.
I have configured ASM using virtual disks in place real disk in Solaris 10 Global zone. How i can do in local Zone
Kindly guid me with proper... (1 Reply)
Hi All,
does any body know how to create Virtual NIC in Solaris 10
if any one have good article or reference
kindly provide me
i try to Google
but i didn't find good one (7 Replies)
I have a Sun T5120, and I want to programmatically determine how much RAM it has.
# uname -a
SunOS myhost 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5120
The box has 64Gb; I tried prtdiag and prtconf, but they give me bogus info
prtconf gives me:
# prtconf |grep -i... (12 Replies)
I have to do this exercise:
Create a virtual disk
Partition this disk
Create File system
Mount File System
I'm using Minix (which runs by Qemu as guest machine) on Linux (Host)
Is there anybody who knows how to solve first three point? :confused:
Thanks (4 Replies)
Hi all,
I would like to know how to make new partitions....
I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices...
I am running only solaris on my box.
My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Hi all,
I wanted to make a ramdisk for a opensolaris distro.
I have very little idea of how to create it?
can anyone pls help me out?
Is there any tutorial on creating it on the net???
Also can i make changes to the actual os itself by changing the scripts involved in ramdisk then use it to... (1 Reply)
Hai ......... my name Rio,
I want to clone my harddisk at Sun Balade 2000 server with Solaris 8 OS, my question is :
a. what kind method for making backup or clonning disk ?
b. what method more easier , quick but still reliable ?
c. how to proceed it ?
Thanks (1 Reply)