Sponsored Content
Operating Systems Solaris Linux partitioned disk mounted on OSOL without formatting Post 302483218 by michnmi on Friday 24th of December 2010 11:49:18 AM
Old 12-24-2010
Linux partitioned disk mounted on OSOL without formatting

Hello and Merry Christmas...

Quick question after tireless search around the web.

Description:

I have a WD My book world edition II that met an untimely death. However the 2 SATA disks inside seem to be working just fine. Want to add either one of them to my Solaris Desktop.

Since I havent done anything like this before your help is much appreciated.

The disks are of 1TB capacity each and are formatted according to 'a' WDMWEII site in ext3 which would make sense given the overall product. So I'm supposing it IS ext3.
I am running a OSOL snv_134b system updated with Oracle's best and final wishes. I want to manually add the hard disk to my system and access it's contents without formatting it, hence losing them.

Any help would be much appreciated!!!


Code:
part of dmesg:
Dec 24 18:00:20 MainComputer gda: [ID 243001 kern.info] Disk1:    <Vendor 'Gen-ATA ' Product 'WDC WD10EADS-00L'>
Dec 24 18:00:20 MainComputer ata: [ID 496167 kern.info] cmdk1 at ata0 target 1 lun 0
Dec 24 18:00:20 MainComputer genunix: [ID 936769 kern.info] cmdk1 is /pci@0,0/pci-ide@11/ide@0/cmdk@1,0
Dec 24 18:01:29 MainComputer pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Dec 24 18:01:29 MainComputer genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
Dec 24 18:01:29 MainComputer rootnex: [ID 349649 kern.info] xsvc0 at root: space 0 offset 0
Dec 24 18:01:29 MainComputer genunix: [ID 936769 kern.info] xsvc0 is /xsvc@0,0
Dec 24 18:01:31 MainComputer pseudo: [ID 129642 kern.info] pseudo-device: nvidia255
Dec 24 18:01:31 MainComputer genunix: [ID 936769 kern.info] nvidia255 is /pseudo/nvidia@255
Dec 24 18:01:40 MainComputer unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels.

Code:
Output of format and consecutive commands:
AVAILABLE DISK SELECTIONS:
       0. c7d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@11/ide@0/cmdk@0,0
       1. c7d1 <drive type unknown>
          /pci@0,0/pci-ide@11/ide@0/cmdk@1,0
Specify disk (enter its number): 1



AVAILABLE DRIVE TYPES:
        0. DEFAULT
        1. other
Specify disk type (enter its number): 0
selecting c7d1
No current partition list
No defect list found
[disk formatted, no defect list found]
No Solaris fdisk partition found.


FORMAT MENU:
        disk       - select a disk
[...]
        quit
format> p
WARNING - This disk may be in use by an application that has
      modified the fdisk table. Ensure that this disk is
      not currently in use before proceeding to use fdisk.
format>


Last edited by michnmi; 12-25-2010 at 04:57 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

disk formatting question

Currently I have a box that I am dual-booting Win98 & Linux on. I have an unformatted 3 gig slice that I would like to install Soloris 8 x86 on. Are there any issues I should be aware of? How close is the x86 install to the sparc install? The Linux partition will be going away but I need to reatain... (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. UNIX for Dummies Questions & Answers

Problem re-formatting Disk Partition

I have a disk formatted as follows. Part Flag Tag Cylinders Size =================================================== 0 wm root 0 - 38125 26.18 Gb 1 wu swap 38126 - 49776 8 Gb 2 wm backup 0 - 49779 34.18 Gb 3 wm unassigned 4 wm unassigned 5 wm unassigned 6 wm unassigned... (1 Reply)
Discussion started by: jimthompson
1 Replies

3. Solaris

Formatting disk to UFS

Hello all, I have a laptop with a FAT32 files system, and I want to convert to UFS (unix file system) to install Solaris 10. somebody knows the way to do that?:confused: Please help Thank you! (4 Replies)
Discussion started by: Geller
4 Replies

4. SuSE

External USB disk cannot be mounted

Hi, I am running Suse on a fujitsu server. The problem is that it will no fully load the usb external disk. When plugged in, dmesg shows that indeed a usb disk has been plugged in ,but gives no devpath e.g sda,sdb. lsusb shows the disk vendor (western digital) but nothing else.Whats goin on... (2 Replies)
Discussion started by: ulemsee
2 Replies

5. Red Hat

Formatting disk such that it works on Dos

Hi, I need to format a disk in Linux such that the disk works on DOS machine. Regards Rochit (2 Replies)
Discussion started by: rochitsharma
2 Replies

6. Ubuntu

XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk?

My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned. I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies

7. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

8. Solaris

How to modify a disk with mounted partitions?

Hi Guys, I was wondering; can a disk with mounted partitions be modified? If yes, how can this be done? Thanks lots (1 Reply)
Discussion started by: cjashu
1 Replies

9. Ubuntu

how to make others have read/write permission when the aotu mounted usb flash disk pluge in ?

hi all: as we know , when usb flash disk plug in and aotu mounted , the default permission of the usb flash disk is 700. that means others have no permission . the question: how to make others have read/write permission when the aotu mounted usb flash disk pluge in ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 Replies
diskscan(1M)						  System Administration Commands					      diskscan(1M)

NAME
diskscan - perform surface analysis SYNOPSIS
diskscan [-W] [-n] [-y] raw_device DESCRIPTION
diskscan is used by the system administrator to perform surface analysis on a portion of a hard disk. The disk portion may be a raw parti- tion or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and errors reported on standard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a file and later fed into addbadsec(1M), which will remap them. OPTIONS
The following options are supported: -n Causes diskscan to suppress linefeeds when printing progress information on standard out. -W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked with caution. -y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when -W is used. OPERANDS
The following operands are supported: raw_device The address of the disk drive (see FILES). FILES
The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(1M) for an explanation of SCSI and IDE device naming conventions. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
addbadsec(1M), disks(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5) NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, addbad- sec(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS format utility; however, to label, ana- lyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility. SunOS 5.10 24 Feb 1998 diskscan(1M)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy