Sponsored Content
Operating Systems Solaris Basic question regarding root file system copy to another disk Post 302915505 by Zam_1234 on Wednesday 3rd of September 2014 12:32:15 PM
Old 09-03-2014
Sun Basic question regarding root file system copy to another disk

Hello,
I am creating a new disk using the following command:

Code:
dd if=/dev/zero of=/export/home/ramdisk/0 bs=512 count=4096k

after creating the disk, i tool a ufsdump of a solaris 10 filesytem (disk size 512MB)
Code:
ufsdump -cvf /export/home/ufsdump/sol_orig /

and then restored the dump files onto the newly created 2GB disk (after creating a newfs and mounting that disk to /mnt/sol_2gb):
Code:
ufsrestore -rvf /export/home/ufsdump/sol_orig /mnt/sol_2gb

after that, i installed the boot block on the 2gb disk:
Code:
installboot /usr/platform/sun4v/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s3

where, c0t0d0s3 is the newly created 2gb disk.

then I try to use the 2 gb disk to boot the system just by using the boot command.
This is when the SMF services start to load and after everything is loaded, I get the errors. (see attached image)

I am using Legion which is a T-2000 simulator (T-1 processor, sun4v arch). I have attached the config. file for the simulator.

When i boot from the original 512Mb image, there is no issue at all.
Could someone help me with why just copying the file system to a bigger disk maybe causing so much trouble.
 

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 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy