Visit Our UNIX and Linux User Community


Linux partitioned disk mounted on OSOL without formatting


 
Thread Tools Search this Thread
Operating Systems Solaris Linux partitioned disk mounted on OSOL without formatting
# 1  
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 05:57 AM..
# 2  
Old 12-24-2010
What says
Code:
 fdisk -v -W - /dev/rdsk/c7d1p0 | tail -5

?
This User Gave Thanks to jlliagre For This Post:
# 3  
Old 12-25-2010
Code:
michnmi@MainComputer:~#  fdisk -v -W - /dev/rdsk/c7d1p0 | tail -5
* Id    Act  Bhead  Bsect  Bcyl    Ehead  Esect  Ecyl    Rsect      Numsect
  253   0    0      1      4       254    63     247     64260      3919860   
  253   0    0      1      248     254    63     279     3984120    514080    
  253   0    0      1      280     254    63     402     4498200    1975995   
  253   0    0      1      403     254    63     1023    6474195    1947045870


thanks
# 4  
Old 12-25-2010
The partition ids tell there is RAID involved (Linux RAID Autodetect). If the data partition(s) is/are not directly accessible as ext3, there is little chance you could mount them from Solaris. Even if they are, ext3 isn't supported natively by Solaris/OpenSolaris. There are two distinct projects with the goal to provide this support, one in userland: http://www.genunix.org/distributions....FSWfsmisc.txt and one in the kernel: Quick howto (Project ext3.Quick howto) - XWiki
This User Gave Thanks to jlliagre For This Post:
# 5  
Old 12-26-2010
Ok, will try those. However, two quick thoughts that need clarifying.

Is it possible then to mount them on a linux system. I have a couple and would like to try them if there is such a chance. And more importantly would this be possible through an external case for the SATA drives USB connected to the linux machines?Would that in your opinion work?
And another question:Would booting through a live -let's say,Ubuntu- CD give me the ext3-supporting window I'd need to access the internally connected SATA drives, mount them, copy them and salvage their data?

Again many many thanks
# 6  
Old 12-26-2010
Using a Gnu/Linux based distribution would definitely be a better approach to recover ext3 data. I cannot tell if ubuntu would be a good choice or not for this software raid support. You might have better luck in a Linux focused forum.
This User Gave Thanks to jlliagre For This Post:

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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

Featured Tech Videos