- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 10:50 AM
тАО11-03-2009 10:50 AM
Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
It's been a long time for me. I have 6 new drives that I need to format, all 18Gb.
SEAGATE ST318404L
FUJITSU MAG3182L
Do I need to add an entry in /etc/disktab or is there an easier solution. If not does anyone have a sample disktab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 07:18 AM
тАО11-04-2009 07:18 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
On 4.0F, you should just be able to write a standard label with "disklabel -wr rzN" and then edit it as required...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 08:56 AM
тАО11-04-2009 08:56 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
disklabel -wr /dev/rrz9a RZ29B put the wrong geometry on the drive.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 09:29 AM
тАО11-04-2009 09:29 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
If a disk type isn't in /etc/disktab, it appears to just use a default geometry.
Just tried this on a 36GB disk and it works fine - see attached.
On 4.0F you don't need to use the drive type. You only mentioned 4.0 though... what specific version are you running (sizer -v)
Cheers,
Rob
P.S. A 9GB drive is an RZ40, not RZ29.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 10:06 AM
тАО11-04-2009 10:06 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
I can use disklabel -p /dev/rrz9a
which prints.
# /dev/rrz9a:
type: SCSI
disk: ST318404
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 248
tracks/cylinder: 19
sectors/cylinder: 4712
cylinders: 7508
sectors/unit: 35378533
rpm: 7200
interleave: 1
trackskew: 45
cylinderskew: 39
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 unused 0 0 # (Cyl. 0 - 27*)
b: 262144 131072 unused 0 0 # (Cyl. 27*- 83*)
c: 35378533 0 unused 0 0 # (Cyl. 0 - 7508*)
d: 0 0 unused 0 0 # (Cyl. 0 - -1)
e: 0 0 unused 0 0 # (Cyl. 0 - -1)
f: 0 0 unused 0 0 # (Cyl. 0 - -1)
g: 17492658 393216 unused 0 0 # (Cyl. 83*- 3795*)
h: 17492659 17885874 unused 0 0 # (Cyl. 3795*- 7508*)
but cannot read (-r) or edit (-e). Nor can I newfs the partition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 11:17 AM
тАО11-04-2009 11:17 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
"I cannot" is not a useful problem
description. Actual command(s)? Actual
output?
> Nor can I newfs the partition.
Which partition is "the partition"?
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions and interpretations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 11:36 AM
тАО11-04-2009 11:36 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
From the manpage for disklabel:
"If your disk type is not specified in the /etc/disktab file, disklabel uses the default partition information in the driver."
Therefore something like this:
# disklabel -wr rz9 wibble
should work fine.
As Steven says, seeing exactly what you're doing would be useful...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 01:33 PM
тАО11-04-2009 01:33 PM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
These were the same errors I got with rz9.
# disklabel -r rz11
Disk is unlabeled or, /dev/rrz11a does not start at block 0 of the disk
# disklabel -p rz11
# /dev/rrz11a:
type: SCSI
disk: MAG3182L
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 248
tracks/cylinder: 19
sectors/cylinder: 4712
cylinders: 7508
sectors/unit: 35378533
rpm: 10025
interleave: 1
trackskew: 71
cylinderskew: 101
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 unused 0 0 # (Cyl. 0 - 27*)
b: 262144 131072 unused 0 0 # (Cyl. 27*- 83*)
c: 35378533 0 unused 0 0 # (Cyl. 0 - 7508*)
d: 0 0 unused 0 0 # (Cyl. 0 - -1)
e: 0 0 unused 0 0 # (Cyl. 0 - -1)
f: 0 0 unused 0 0 # (Cyl. 0 - -1)
g: 17492658 393216 unused 0 0 # (Cyl. 83*- 3795*)
h: 17492659 17885874 unused 0 0 # (Cyl. 3795*- 7508*)
# disklabel -r rz11
Usage:
...
# disklabel -wr rz11 MAG3182L
# disklabel -r rz11
# /dev/rrz11a:
type: SCSI
disk: MAG3182L
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 248
tracks/cylinder: 19
sectors/cylinder: 4712
cylinders: 7508
sectors/unit: 35378533
rpm: 10025
interleave: 1
trackskew: 71
cylinderskew: 101
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 unused 0 0 # (Cyl. 0 - 27*)
b: 262144 131072 unused 0 0 # (Cyl. 27*- 83*)
c: 35378533 0 unused 0 0 # (Cyl. 0 - 7508*)
d: 0 0 unused 0 0 # (Cyl. 0 - -1)
e: 0 0 unused 0 0 # (Cyl. 0 - -1)
f: 0 0 unused 0 0 # (Cyl. 0 - -1)
g: 17492658 393216 unused 0 0 # (Cyl. 83*- 3795*)
h: 17492659 17885874 unused 0 0 # (Cyl. 3795*- 7508*)
# newfs /dev/rz11c
Warning: 3876 sector(s) in last cylinder unallocated
/dev/rrz11c: 35378532 sectors in 7509 cylinders of 19 tracks, 248 sectors
17274.7MB in 470 cyl groups (16 c/g, 36.81MB/g, 8832 i/g)
super-block backups (for fsck -b #) at:
...
Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 12:02 AM
тАО11-05-2009 12:02 AM
Re: Disklabel V4.0 for 18Gb Drives ST318404L MAG3182L
By the way, is there any particular reason that you're using UFS rather than AdvFS ? I don't think I've ever used newfs on Tru64/Digital Unix...
Cheers,
Rob