From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653644221563.tru64-unix-managers.marc@archive.invalid> From: Alex Harkema Date: Mon, 03 Dec 2001 15:06:14 +0000 To: tru64-unix-managers Subject: SUMMARY: partition in use? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653644221563 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------InterScan_NT_MIME_Boundary" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --------------InterScan_NT_MIME_Boundary Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C17C0C.0D48A140" ------_=_NextPart_001_01C17C0C.0D48A140 Content-Type: text/plain; charset="iso-8859-1" Man, why didn't I think of that: just try to mount it. Volprint -ht showed there was a volume on the d partition. I created the link from fdmns: # mkdir /etc/fdmns/mytest # cd /etc/fdmns/mytest # ln -s /dev/vol/vol-dsk0d mytestfset # showfsets mytest And what did it say: var Id : 398d5017.000611ad.1.8001 Files : 0, SLim= 0, HLim= 0 Blocks (512) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off Most likely, the disk has been used before, with /var on the d. partition! Now I'm sure I can re-use it again. Thanks to: Timothy Brown, Pat O'Brien and Lucien Hercaud. Last persion mentioned also told me to: However, if the "b"' and "d" partions are adjacent, the best would be to remove the primary swap from "b", and to take off the swapvol from LSM then to increase the "b" partition by "d"'s size and to redefine the "b" partition as swap (but larger this time!) This in order to prevent swap interlace between 2 partitions of the same disk which is not very good for performance Thanks again! Best regards, Alex -----Original Message----- From: Alex Harkema [mailto:HarkemaA@vertis.nl] Sent: Monday, December 03, 2001 3:29 PM To: 'tru64-unix-managers@ornl.gov' Subject: partition in use? Hi all, On a system running LSM (boot/rootdisk encapsulated & mirrored) (Tru64 v5.1 pk0003, AS1200, 1 rootdg (and 1 proddg existing of 2 raid5 sets)) It's disklabel dsk0 is: c: 8380080 0 unused d: 3103464 2797786 AdvFS e: 1024 2796762 unused f: 4096 2792666 LSMsimp g: 2478830 5901250 LSMnoprv h: 3993432 4386648 unused # voldisk list | grep dsk0 dsk0a nopriv root01 rootdg online dsk0b nopriv swap01 rootdg online dsk0d nopriv dsk0d-AdvFS rootdg online dsk0f simple dsk0f rootdg online dsk0g nopriv dsk0g-AdvFS rootdg online The 'g' partition in use for the usr_domain (including var) Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 2478816 967312 61% on 512 512 /dev/vol/rootdg/vol-dsk0g My question: How can I see what's dsk0d for... There are no other domains in root (besides the rootvolume on a. and swap on b) I'd like to add secondary swap on that d. partition (if possible) TIA Alex Harkema ------_=_NextPart_001_01C17C0C.0D48A140 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable SUMMARY: partition in use?

Man, why didn't I think of that: just try to mount = it.
Volprint -ht showed there was a volume on the d = partition. I created the link from fdmns:

# mkdir /etc/fdmns/mytest
# cd /etc/fdmns/mytest
# ln -s /dev/vol/vol-dsk0d mytestfset
# showfsets mytest

And what did it say:

  var
  Id : 398d5017.000611ad.1.8001
  Files : 0, SLim=3D 0, HLim=3D 0
  Blocks (512) : 0, SLim=3D 0, HLim=3D 0
  Quota Status : user=3Doff group=3Doff

Most likely, the disk has been used before, with /var = on the d. partition!
Now I'm sure I can re-use it again.

Thanks to:
Timothy Brown, Pat O'Brien and Lucien = Hercaud.
Last persion mentioned also told me to:

However, if the "b"' and "d" = partions are adjacent, the best would be to
remove the primary swap from "b", and to = take off the swapvol from LSM then
to increase the "b" partition by = "d"'s size and to redefine the "b"
partition as swap (but larger this time!) This in = order to prevent swap
interlace between 2 partitions of the same disk = which is not very good for
performance

Thanks again!
Best regards,
Alex





-----Original Message-----
From: Alex Harkema [mailto:HarkemaA@vertis.nl]=
Sent: Monday, December 03, 2001 3:29 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: partition in use?


Hi all,
On a system running LSM (boot/rootdisk encapsulated = & mirrored) (Tru64 v5.1 pk0003, AS1200, 1 rootdg (and 1 proddg = existing of 2 raid5 sets))

It's disklabel dsk0 is:
  c:    = 8380080          = 0    unused
  d:    = 3103464    2797786     AdvFS
  e:       = 1024    2796762    unused 
  f:       = 4096    2792666   LSMsimp 
  g:    = 2478830    5901250  LSMnoprv  
  h:    = 3993432    4386648    unused
# voldisk list | grep dsk0
dsk0a        = nopriv    root01       = rootdg       online
dsk0b        = nopriv    swap01       = rootdg       online
dsk0d        = nopriv    dsk0d-AdvFS  = rootdg       online
dsk0f        = simple    = dsk0f        = rootdg       online
dsk0g        = nopriv    dsk0g-AdvFS  = rootdg       online
The 'g' partition in use for the usr_domain = (including var)
  Vol   = 512-Blks        Free  % = Used  Cmode  Rblks  Wblks  Vol Name
   1L    = 2478816      967312     = 61%     on    512    = 512  /dev/vol/rootdg/vol-dsk0g
My question:
How can I see what's dsk0d for... There are no other = domains in root (besides the rootvolume on a. and swap on b) I'd like = to add secondary swap on that d. partition (if possible)

TIA
Alex Harkema

------_=_NextPart_001_01C17C0C.0D48A140-- --------------InterScan_NT_MIME_Boundary--