What is pre-moderation?
Re: what external hard drive works with Solaris 10, x86?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• RYXI
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

RYXI > Solaris > Re: what external hard drive works with Solaris 10, x86? 7 May 2008 03:07:39

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Re: what external hard drive works with Solaris 10, x86?

Michelle 7 May 2008 03:07:39
 On Mar 26, 12:40pm, Reginald Beardsley <pulask...@yahoo.co­m> wrote:
Michelle wrote:
On Mar 24, 5:11 pm, Michelle <serendipity1...@ya­hoo.com> wrote:
I went out and got those 1/2 Terabyteexternalhar­ddrives from both
Maxtor and Seagate. When I plugged in its USB cable onto my Solaris
10 x86 server, it tries to format theharddrive. But that's it. I
can't mount either drive because the format doesn't even run.
Is that anexternalharddrive­ system that is around 250 GB to 1
Terabyte that works with Solaris 10? Thanks.
So I must have done something wrong. Can someone post the
instructions on how to format an
externalUSBharddri­ve on Solaris x86, and then, mounting it after
the format is completed?
Currently, whenever I plug in the USB cable, Solaris 10 wants to
format the drive, and then,
it just gets stuck there. Thanks.
Here's a brief summary of my notes from setting up 400 & 750 GB Seagate
drives w/ ufs. Setting up pcfs is similar:
0) disable vold & reboot
mv /etc/vold.conf /etc/vold.conf_disa­bled
init 6
1) plug in the drive and get the drive designation
rmformat -l
2) clear the old MS cruft
dd if=/dev/zero of=/dev/rdsk/???? bs=2048 count=10
Note: I don't think this was really necessary.
My notes don't say why I did it.
Probably just habit.
2) get the number of sectors & create primary partition
fdisk /dev/rdsk/????
3) format the drive w/ newfs
newfs -v [your choice of options] -s number_of_sectors /dev/rdsk/????
Thehardpart was figuring out I needed to give the "-s #_sectors" option.
you'll get a message from newfs that the drive returns a size of zero,
but a seek to the specified size succeeds so it is using the size you
gave it. I've encountered the same message everytime I've formatted a
USB drive. I assume it's a error in the USB mass storage driver failing
to propagate the information properly.
4) mount -F ufs [your mount options] /dev/dsk/???? /mnt
Have Fun!
Reg- Hide quoted text -
- Show quoted text -


This is what I've done:

# rmformat -l

Looking for devices...
1. Logical Node: /dev/rdsk/c1t0d0p0
Physical Node: /pci@0,0/pci-ide@14­,1/ide@0/sd@0,0
Connected Device: SONY DVD RW AW-G170A 1.75
Device Type: DVD Reader/Writer
2. Logical Node: /dev/rdsk/c2t0d0p0
Physical Node: /pci@0,0/pci1043,81­ef@13,5/storage@2/di­sk@0,0
Connected Device: Maxtor OneTouch 0121
Device Type: Removable

# fdisk /dev/rdsk/c2t0d0p0

Total disk size is 60800 cylinders
Cylinder size is 32130 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 60799 60799 100





SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration)

Enter Selection: 6

#



So now, what do I type in for the "newfs" command?
I don't know what the number of sectors is.
By the way, does the newfs command format the external hard disk?

Then after the "newfs" command, can I do this command:

# mount -F ufs /dev/rdsk/c2t0d0p0 /mnt
Add comment
Guest 7 May 2008 03:07:39 permanent link ]
 On Mar 26, 12:40 pm, Reginald Beardsley <pulask...@yahoo.co­m> wrote:
Michelle wrote:
On Mar 24, 5:11 pm, Michelle <serendipity1...@ya­hoo.com> wrote:
I went out and got those 1/2 Terabyte external hard drives from both
Maxtor and Seagate. When I plugged in its USB cable onto my Solaris
10 x86 server, it tries to format the hard drive. But that's it. I
can't mount either drive because the format doesn't even run.
Is that an external hard drive system that is around 250 GB to 1
Terabyte that works with Solaris 10? Thanks.
So I must have done something wrong. Can someone post the
instructions on how to format an
external USB hard drive on Solaris x86, and then, mounting it after
the format is completed?
Currently, whenever I plug in the USB cable, Solaris 10 wants to
format the drive, and then,
it just gets stuck there. Thanks.
Here's a brief summary of my notes from setting up 400 & 750 GB Seagate
drives w/ ufs. Setting up pcfs is similar:
0) disable vold & reboot
mv /etc/vold.conf /etc/vold.conf_disa­bled
init 6
1) plug in the drive and get the drive designation
rmformat -l
2) clear the old MS cruft
dd if=/dev/zero of=/dev/rdsk/???? bs=2048 count=10
Note: I don't think this was really necessary.
My notes don't say why I did it.
Probably just habit.
2) get the number of sectors & create primary partition
fdisk /dev/rdsk/????
3) format the drive w/ newfs
newfs -v [your choice of options] -s number_of_sectors /dev/rdsk/????
The hard part was figuring out I needed to give the "-s #_sectors" option.
you'll get a message from newfs that the drive returns a size of zero,
but a seek to the specified size succeeds so it is using the size you
gave it. I've encountered the same message everytime I've formatted a
USB drive. I assume it's a error in the USB mass storage driver failing
to propagate the information properly.
4) mount -F ufs [your mount options] /dev/dsk/???? /mnt
Have Fun!
Reg

Here is what I used to get the sector count:

# prtvtoc /dev/rdsk/c3t0d0p0
* /dev/rdsk/c3t0d0p0 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 60800 cylinders
* 60798 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 16065 976703805 976719869
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 976719870 976719869
8 1 01 0 16065 16064


So, my command was:

# newfs -v -s 976719870 /dev/rdsk/c3t0d0p0

on a West Dig USB drive (500GB) attached to a Sun X2100 + Solaris 10
X85 08/07

:

# rmformat -l
Looking for devices...
1. Logical Node: /dev/rdsk/c0t0d0p0
Physical Node: /pci@0,0/pci-ide@6/­ide@0/sd@0,0
Connected Device: MATSHITA DVD-ROM SR-8178 PZ16
Device Type: DVD Reader
2. Logical Node: /dev/rdsk/c3t0d0p0
Physical Node: /pci@0,0/pci108e,53­48@2,1/storage@6/dis­k@0,0
Connected Device: WD 5000AAV External 1.65
Device Type: Removable
#
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


RYXI > Solaris > Re: what external hard drive works with Solaris 10, x86? 7 May 2008 03:07:39

see also:
Cure for AVG update difficulties
пройди тесты:
see also:
The Environement man !

  Copyright © 2001—2008 RYXI
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.ryxi.com.
Сообщения об ошибках оставляем в сообществе bugs.ryxi.com.
Предложения и комментарии пишем в сообществе suggest.ryxi.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .