Sponsored Content
Operating Systems Solaris Basic question regarding root file system copy to another disk Post 302915734 by Zam_1234 on Thursday 4th of September 2014 12:16:14 PM
Old 09-04-2014
Hello hicksd8,
I created the (virtual) disk (using dd, ufsdump, ufsrestore) in a physical machine. Then in the Legion simulator config file, there is an option to add that disk to slice 3 of c0t0d0s# which I did. Thus I was calling the disk to be at c0t0d0s3.
Code:
// disk ... must use virtual_disk directive
            device "memory" 0x1f40000000 +513M  {
                virtual_disk;
                load s0 rom "disk.s10hw2";
                load s3 shared "sol_2gb";
            }

When I am trying to boot with just the newly created disk (sol_2gb), I replace the "disk.s10hw2" in s0 with the new disk name and comment out the s3 line.

Here is my /etc/vfstab in the simulator with just the original disk (disk.s10hw2)"
Code:
bash-3.00# more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no      -
/dev/dsk/c0t0d0s3       /dev/rdsk/c0t0d0s3      /export ufs     1       no      -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -

---------- Post updated at 11:16 AM ---------- Previous update was at 11:12 AM ----------

Quote:
Originally Posted by gull04
Hi Zam,

Can you post the output of
Code:
echo | format

And assuming that this is an LDOM, the config using the
Code:
ldm list-bindings

Sorry this should be executed in the control domain

Regards

Dave
Dave,
here is the output from the simulator:
Code:
bash-3.00# echo | format
Searching for disks...WARNING: hsimd_ioctl: cmd 410 not implemented


Error: Device c0t0d0: controller name (SUNW,sun4v-virtual)
is invalid.  Device will not be displayed.
done
No disks found!

bash-3.00# ldm list-bindings
bash: ldm: command not found

 

10 More Discussions You Might Find Interesting

1. AIX

Need basic disk copy routine for AIX 3

I'm using AIX 3 on IBM PowerStation 520's in a couple of flight simulators where I work. I recently upgraded our disk systems from three 355Mb disks to single 2GB flashdisks. The disk backup utility provided by the manufacturer will only copy 355Mb disks. I need a basic disk copy routine... (0 Replies)
Discussion started by: tekmeister
0 Replies

2. AIX

basic question about disk usage

how to i find out the disk usage on a server. say in windows examples its like C:/ D:/ and checking out the disk space. how can i find in Unix. can i just use df -k (3 Replies)
Discussion started by: karthikosu
3 Replies

3. UNIX for Dummies Questions & Answers

how to copy file in cd or floppy disk

i am novice in unix. in me office my boss hav given me a system with Unix OS. i know about windows and Dos. in dos we access cd or floppy through writing following commands a: or d: copy filename.ext to a: i dont even now how to access CD Rom or floppy drive in unix. please tell... (1 Reply)
Discussion started by: fassi
1 Replies

4. UNIX for Advanced & Expert Users

The best way to skin a cat OR how do I get file system info on the most basic level?

Hi, We have an FTP server (vsftpd) running on Linux, that I've kinda built a "Data Management" system around. I could use some ideas as to the best way to handle/create "triggers" for file notifications. Internal users drag 'n drop files from their Windows boxes to the server via Samba... (2 Replies)
Discussion started by: mph
2 Replies

5. UNIX for Dummies Questions & Answers

Basic file processing question

I have a csv file with 3 columns. Column 1 is a date "mm/dd/yyyy", column 2 is a dollar amount (e.g. "100.00") & column 3 in a description of where the transaction took place (e.g. "CHECK CRD PURCHASE 10/07 ACME INC USA") so... "10/01/2009","100.00", "CHECK CRD PURCHASE 10/07 ACME INC USA" I... (1 Reply)
Discussion started by: watingo
1 Replies

6. Shell Programming and Scripting

Monitoring a file - Basic Bash Question

*This is not homework I am new to UNIX and want to try this Monitoring a file demo* *If this is the wrong forum please move it - im new to the forums* $1 = the file to be monitored $2 = the time for the file to sleep If the file gets changed (using -nt) it will send my username mail saying... (2 Replies)
Discussion started by: Nolan-
2 Replies

7. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

8. Shell Programming and Scripting

Basic line reading and file merge question

No doubt these questions have been answered many times, but I struggled to find them - sorry. 2 questions: 1. I wish to read in a file one line at a time and do 'stuff' with it, such as: file="tst2" while IFS= read -r line do echo `wget -qO -... (3 Replies)
Discussion started by: Golpette
3 Replies

9. UNIX for Dummies Questions & Answers

Preseed command to copy a file to /root directory

I was hoping to edit the command below to copy a file "start.bin" from the install cd to /root on the installation machine. d-i preseed/late_command string \ wget -O /target/root/start.bin 'http://abc.start.bin' \ && in-target chmod 755 /root/start.bin \ My best guess is it would... (0 Replies)
Discussion started by: dmunoz
0 Replies

10. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
All times are GMT -4. The time now is 05:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy