Sponsored Content
Full Discussion: Ufsrestore on SunBlade 2500
Top Forums UNIX for Beginners Questions & Answers Ufsrestore on SunBlade 2500 Post 303011317 by hicksd8 on Tuesday 16th of January 2018 02:11:03 PM
Old 01-16-2018
The

Quote:
/ on /dev/md/dsk/d0
/usr on /dev/md/dsk/d3
tells me that, on the original system, the volumes are mirrored ("md") using Sun's Logical Volume Manager.

So, booting from DVD into single user and mounting your clone root under /a, edit /a/etc/vfstab file to point to the new clone devices:

eg,

Code:
/ on /dev/dsk/c0t0d0s0
swap on <whatever you created it as>
/usr on /dev/dsk/<whatever you create it as>

eg, c0t0d0s2

Then, shutdown the machine in an orderly manner:

Code:
# init 0

and at the ok> prompt:

Code:
ok> boot -r

to tell Solaris to reconfigure as it boots.

Post the results of that.
This User Gave Thanks to hicksd8 For This Post:
 

9 More Discussions You Might Find Interesting

1. Linux Benchmarks

AMD 2500 / 1G RAM / Soyo KT600 Ultra MB

System Notes: CPU/Speed: AMD Athlon 2500+ 1.8Ghz Ram: 1 GB DDR 333 PC2700 Motherboard: Soyo KT600 Dragon Ultra Bus: PCI Cache: 512KB (corrected earlier error stating 512MB!) HD Controller: EIDE Benchmarks: ... (5 Replies)
Discussion started by: Neo
5 Replies

2. Solaris

Anyone has problems with new Blade 2500????

Hi guys, I am a new member here. This is my first post. I try to purchase some new Blade 2500 for the company. However, the vendor suggests me to get Blade 2000 instead. The vendor said he has many problems with new Silver Blade 2500's. Has anyone here had simlar experience with blade 2500?... (4 Replies)
Discussion started by: facaizhu
4 Replies

3. Filesystems, Disks and Memory

SB2000, 2500 server client convert

Hi, Sir, I have a customer who use a SB2000 as server and just upgraded three client machine with SB2500. The system is used for planning and all boxes likely share the same source on server, so pretty slow when all machines are in operation. The customer wish to do a server-to-client and... (0 Replies)
Discussion started by: howhowzz
0 Replies

4. UNIX for Dummies Questions & Answers

Sunblade 1000

Hi everyone this is my first post I have used linux a couple of times and was impressed, so i bought an old sunblade 1000, just to learn something new. I cannot get the thing to work! I have tried to install solaris 10 and several types of linux. I am beginning to wonder if i was sold a... (3 Replies)
Discussion started by: Kawakaze
3 Replies

5. What is on Your Mind?

Now Over 2500 FB Fans for Our New Timeline

Progress! 25% there on our way 10,000 FB fans on the new timeline: https://www.unix.com/members/neo-albums-forum-pics-picture503-facebook-timeline-now-over-2-500-fans.png (0 Replies)
Discussion started by: Neo
0 Replies

6. Hardware

StorageTek 2500

Hi, I recently got StoragaTek 2500 and I would like to connect it to my solaris machine, since I don't have much experience with storages, could someone point me how to do so, how can i present disks from storage on my solaris os? (everything is already connected) thanks in advance (1 Reply)
Discussion started by: sprehodec
1 Replies

7. BSD

Installing OpenBSD for Xorg on Sunblade 2500

Hello All, I am new to the forum so forgive me for any mistakes. I have a question. I have been doing alot of reading about how to get a supportable operating system on my sunblade 2500. I also want to use it for Xorg. I have been having trouble getting the sun XVR drivers working... (2 Replies)
Discussion started by: harqobi22
2 Replies

8. UNIX for Beginners Questions & Answers

Need in for a script that should check for errors in multiple log file (approx 2500) and should mail

hello everyone, I am new to linux and got this deliverable to write a script that should check for error in multiple log file (count is approx 2500 log files on single server) and once error is found, it should mail that error My logic says: we can put all log files path/location in one... (2 Replies)
Discussion started by: Pratik_CTS
2 Replies

9. Solaris

Cloning a Sunblade 2500

Good Morning, I took a mirror drive from one Solaris 9 machine and used it to set up another. After syncing another mirror on the second machine I restarted but I don't get a login screen. I see a message:The X-server cannot be started on display :0 Also during startup I see:... (8 Replies)
Discussion started by: Stellaman1977
8 Replies
metahs(1M)						  System Administration Commands						metahs(1M)

NAME
metahs - manage hot spares and hot spare pools SYNOPSIS
/usr/sbin/metahs [-s setname] -a all component /usr/sbin/metahs [-s setname] -a hot_spare_pool [component] /usr/sbin/metahs [-s setname] -d hot_spare_pool [component] /usr/sbin/metahs [-s setname] -d all component /usr/sbin/metahs [-s setname] -e component /usr/sbin/metahs [-s setname] -r hot_spare_pool component-old /usr/sbin/metahs [-s setname] -r all component-old component-new /usr/sbin/metahs [-s setname] -i [hot_spare_pool...] DESCRIPTION
The metahs command manages existing hot spares and hot spare pools. It is used to add, delete, enable, and replace components (slices) in hot spare pools. Like the metainit command, the metahs command can also create an initial hot spare pool. The metahs command does not replace a component of a metadevice. This function is performed by the metareplace command. Hot spares are always in one of three states: available, in-use, or broken. Available hot spares are running and ready to accept data, but are not currently being written to or read from. In-use hot spares are currently being written to and read from. Broken hot spares are out of service and should be repaired. The status of hot spares is displayed when metahs is invoked with the -i option. Solaris Volume Manager supports storage devices and logical volumes, including hot spares, greater than 1 terabyte (TB) when Solaris 10 is running a 64-bit kernel. If a system with large volumes or hot spares is rebooted under a 32-bit Solaris 10 kernel, the large volumes are visible through metastat output, but they cannot be accessed, modified or deleted, and no new large volumes can be created. Any volumes or file systems on a large volume in this situation are also unavailable. If a system with large volumes is rebooted under a version of Solaris prior to Solaris 10, Solaris Volume Manager will not start. All large volumes must be removed before Solaris Volume Manager runs under another version of the Solaris Operating Environment. OPTIONS
Root privileges are required for any of the following options except -i. The following options are supported: -a all component Add component to all hot spare pools. all is not case sensitive. -a hot_spare_pool [component] Add the component to the specified hot_spare_pool. hot_spare_pool is created if it does not already exist. -d all component Delete component from all the hot spare pools. The component cannot be deleted if it is in the in-use state. -d hot_spare_pool [component] Delete hot_spare_pool, if the hot_spare_pool is both empty and not referenced by a metadevice. If component is specified, it is deleted from the hot_spare_pool. Hot spares in the in-use state cannot be deleted. -e component Enable component to be available for use as a hot spare. The component can be enabled if it is in the broken state and has been repaired. -i [hot_spare_pool...] Display the status of the specified hot_spare_pool or for all hot spare pools if one is not specified. -r all component-old component-new Replace component-old with component-new in all hot spare pools which have the component associated. Components cannot be replaced from any hot spare pool if the old hot spare is in the in-use state. -r hot_spare_pool component-old component-new Replace component-old with component-new in the specified hot_spare_pool. Components cannot be replaced from a hot spare pool if the old hot spare is in the in-use state. -s setname Specify the name of the diskset on which metahs works. Using the -s option causes the command to perform its administrative function within the specified diskset. Without this option, the command performs its function on local hot spare pools. OPERANDS
The following operands are supported: component The logical name for the physical slice (partition) on a disk drive, such as /dev/dsk/c0t0d0s2. hot_spare_pool Hot spare pools must be of the form hspnnn, where nnn is a number in the range 000-999. EXAMPLES
Example 1: Adding a Hot Spare to a Hot Spare Pool The following example adds a hot spare /dev/dsk/c0t0d0s7 to a hot spare pool hsp003: # metahs -a hsp003 c0t0d0s7 When the hot spare is added to the pool, the existing order of the hot spares already in the pool is preserved. The new hot spare is added at the end of the list of hot spares in the hot spare pool specified. Example 2: Adding a Hot Spare to All Currently Defined Pools This example adds a hot spare to the hot spare pools that are currently defined: # metahs -a all c0t0d0s7 The keyword all in this example specifies adding the hot spare, /dev/dsk/c0t0d0s7, to all the hot spare pools. Example 3: Deleting a Hot Spare This example deletes a hot spare, /dev/dsk/c0t0d0s7, from a hot spare pool, hsp003: # metahs -d hsp003 c0t0d0s7 When you delete a hot spare, the position of the remaining hot spares in the pool changes to reflect the new order. For instance, if in this example /dev/dsk/c0t0d0s7 were the second of three hot spares, after deletion the third hot spare would move to the second position. Example 4: Replacing a Hot Spare This example replaces a hot spare that was previously defined: # metahs -r hsp001 c0t1d0s0 c0t3d0s0 In this example, the hot spare /dev/dsk/c0t1d0s0 is replaced by /dev/dsk/c0t3d0s0. The order of the hot spares does not change. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdu | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide WARNINGS
Do not create large (>1 TB) volumes if you expect to run the Solaris Operating Environment with a 32-bit kernel or if you expect to use a version of the Solaris Operating Environment prior to Solaris 10. SunOS 5.10 8 Aug 2003 metahs(1M)
All times are GMT -4. The time now is 08:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy