06-24-2005
Sounds as if there was a soft or hard link - but from what I'm not sure from the information you gave.
I've never seen a link from going from a disk to a disk the way you state it. Post some more info such as:
Solaris version
Better info on what exactly s2d9 AND s2d11 are - is it a partition, directory, disk device file?
If you are mounting a partition on a disk as s2d11, then the output of df -k should have /s2d11 in it which points to the particular slice on a disk. You should be able to just use the ln command to set up a soft link
ln -s /s2d11 /s2d9
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
2. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
3. UNIX for Dummies Questions & Answers
Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
Discussion started by: Ecclesiastes
8 Replies
4. Solaris
Hi,
Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup.
Regards,
Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies
5. UNIX for Advanced & Expert Users
Any creative ideas on how to wreck / secure clean an hard disk drive before disposal?
dd if=/dev/zero of=/dev/disk_drive?
shred -n whatever -z /dev/disk_drive?
Magnet? (false sense of security)
Fire?
Hammer?
Acid?
Post your thoughts. (10 Replies)
Discussion started by: redoubtable
10 Replies
6. Filesystems, Disks and Memory
Hi Guys,
I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies
7. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
8. Solaris
Hi,
What are the initial checks needs to be done while observing hard errors on one of the hard disk drive.
Thanks,
Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies
9. Shell Programming and Scripting
I want count size of all directories on my current File System including size of links only if the target of these links is on same filesystem.
I tried below but it gives size of link target even if its on a different FS:
du -skL *
also the -x option did not help.
Any help. (2 Replies)
Discussion started by: pratikgupta123
2 Replies
10. Hardware
Hi everyone
(see attachments)
I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies
LEARN ABOUT LINUX
metarecover
metarecover(1M) System Administration Commands metarecover(1M)
NAME
metarecover - recover soft partition information
SYNOPSIS
/sbin/metarecover [-n] [-v] [-s setname] component -p
/sbin/metarecover [-n] [-v] [-s setname] component -p {-d}
/sbin/metarecover [-n] [-v] [-s setname] component -p {-m}
DESCRIPTION
The metarecover command scans a specified component to look for soft partition configuration information and to regenerate the configura-
tion.
OPTIONS
The following options are supported:
-d Recover soft partitions in the metadevice state database from the extent headers on the device. Options -d and -m are mutu-
ally exclusive.
-m Regenerate the extent headers and reapplies them to the underlying device based on the soft partitions listed in the
metadevice state database. Options -d and -m are mutually exclusive.
-n Do not actually perform the operation. Show the output or errors that would have resulted from the operation, had it been
run.
-p Regenerate soft partitions based on the metadevice state database or extent headers on the underlying device. If neither -d
nor -m are specified, this option compares the soft partition information in the metadevice state database to the extent
headers.
-s setname Specify the name of the diskset on which metarecover works. Using the s option causes the command to perform its function
within the specified diskset. Without the -s option, the metarecover command operates on the metadevices and/or hot spare
pools in the local diskset.
This option is required to recover former sps from a diskset component or raw-device. setname must be identical to the
former setname in which the sps were created. The set numbers, however, seem irrelevant.
-v Verbose mode, displaying the changes being made.
OPERANDS
The following operand is supported:
component Specifies the c*t*d*s* number of the disk or slice containing the partitions, or the device name (for example, d10) of the
metadevice containing the partitions.
component can be a slice name, component name, /dev/dsk path, or /dev/rdsk path.
EXAMPLES
Example 1: Updating Metadevice State Database Based on Disk Extent Headers
A disk containing soft partitions is moved from one system to another. The system administrator would like to use the existing soft parti-
tions. metarecover updates the metadevice state database based on the extent headers on the disk.
# metarecover -v c0t3d0s2 -p -d
Example 2: Updating Metadevice State Database Based on Incomplete Soft Partition Creation
A system crashes in the middle of creating a new soft partition. The soft partition is in the creating state and the driver does not let
that device be opened. metarecover rewrites the extent headers for the partially created soft partition and mark it as Okay.
# metarecover -v c0t3d0s2 -p -m
Example 3: Updating Extent Headers Based on Metadevice State Database
Someone accidentally overwrote a portion of a disk leaving extent headers destroyed. metarecover rewrites the extent headers to ensure a
valid soft partition configuration, though user data is not recovered.
# metarecover -v d5 -m
Example 4: Validating Soft Partition Configuration
To validate the existing soft partition configuration, use metarecover with only the -p flag.
# metarecover c0t3d0s2 -p
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 |SUNWmdr |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(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
SunOS 5.10 2 Jun 2004 metarecover(1M)