08-29-2014
Hi,
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".
Regards
Dave
10 More Discussions You Might Find Interesting
1. Solaris
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)
Discussion started by: rioria
1 Replies
2. Shell Programming and Scripting
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)
Discussion started by: wrapster
1 Replies
3. Solaris
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)
Discussion started by: wrapster
19 Replies
4. Shell Programming and Scripting
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)
Discussion started by: Guccio
4 Replies
5. Solaris
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)
Discussion started by: thomn8r
12 Replies
6. Solaris
hi,
I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine.
thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies
7. Solaris
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)
Discussion started by: jamisux
7 Replies
8. Solaris
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)
Discussion started by: malikshahid85
1 Replies
9. Solaris
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)
Discussion started by: TKD
6 Replies
10. Solaris
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)
Discussion started by: Matt_VB
4 Replies
LEARN ABOUT LINUX
ramdisk
ramdisk(7D) Devices ramdisk(7D)
NAME
ramdisk - RAM disk device driver
SYNOPSIS
ramdisk@0:diskname
DESCRIPTION
The ramdisk driver supports numerous ramdisk devices that are created by the system during the boot process (see boot(1M)) or during nor-
mal system operation (see ramdiskadm(1M) for more information).
DEVICE SPECIAL FILES
Each ramdisk can be accessed either as a block device or as a raw device. When accessed as a block device, the normal buffering
mechanism is used when reading from and writing to the device, without regard to physical disk records. Accessing the ramdisk as a raw
device enables direct transmission between the disk and the read or write buffer. A single read or write call usually results in a single
I/O operation, meaning that raw I/O is more efficient when many bytes are transmitted. You can find block files names in /dev/ramdisk. Raw
file names are found in /dev/rramdisk.
There are no alignment or length restrictions on I/O requests to either block or character devices.
ERRORS
EFAULT The argument features a bad address.
EINVAL Invalid argument. EIO. An I/O error occurred.
EPERM Cannot create or delete a ramdisk without write permission on /dev/ramdiskctl.
ENOTTY The device does not support the requested ioctl function.
ENXIO The device did not exist during opening.
EBUSY Cannot exclusively open /dev/ramdiskctl. One or more ramdisks are still open.
EEXIST A ramdisk with the indicated name already exists.
EAGAIN Cannot allocate resource for ramdisk. Try again later.
FILES
/dev/ramdisk/diskname
Block device for ramdisk named diskname.
/dev/rramdisk/diskname
Raw device for ramdisk name diskname
/kernel/drv/ramdisk
32-bit driver
/kernel/drv/ramdisk.conf
Driver configuration file. (Do not alter).
/kernel/drv/sparcv9/ramdisk
64-bit driver
ATTRIBUTES
See attributes(5) for descriptions of the following attribute:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ramdiskadm(1M), fsck(1M), fstyp(1M), mount(1M), newfs(1M), driver.conf(4), filesystem(5), dkio(7I)
NOTES
The percentage of available physical memory that can be allocated to ramdisks is constrained by the variable rd_percent_physmem. You can
tune the rd_percent_physmem variable in /etc/system. By default, the percentage of available physical memory that can be allocated to
ramdisks is fixed at 25%.
A ramdisk may not be the best possible use of system memory. Accordingly, use ramdisks only when absolutely necessary.
SunOS 5.10 04 Mar 2003 ramdisk(7D)