Jira (FACT-1292) Disk partition & mount point for Windows OS

2 views
Skip to first unread message

Joshuatly Tee (JIRA)

unread,
Jan 6, 2016, 8:07:19 AM1/6/16
to puppe...@googlegroups.com
Joshuatly Tee created an issue
 
Facter / New Feature FACT-1292
Disk partition & mount point for Windows OS
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/01/06 5:06 AM
Priority: Normal Normal
Reporter: Joshuatly Tee

Include windows partition and disk mountpoint for core facter

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc)
Atlassian logo

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:03:06 PM1/12/16
to puppe...@googlegroups.com

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:04:03 PM1/12/16
to puppe...@googlegroups.com
Rob Reynolds updated an issue
Change By: Rob Reynolds
Scrum Team: Client Platform

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:04:20 PM1/12/16
to puppe...@googlegroups.com

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:09:04 PM1/12/16
to puppe...@googlegroups.com
Rob Reynolds updated an issue
Change By: Rob Reynolds
Component/s: Windows

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:09:04 PM1/12/16
to puppe...@googlegroups.com
Rob Reynolds updated an issue
Change By: Rob Reynolds
CS Priority: Needs Priority

Rob Reynolds (JIRA)

unread,
Jan 12, 2016, 4:09:06 PM1/12/16
to puppe...@googlegroups.com

Kylo Ginsberg (JIRA)

unread,
Jan 12, 2016, 4:44:04 PM1/12/16
to puppe...@googlegroups.com
Kylo Ginsberg commented on New Feature FACT-1292
 
Re: Disk partition & mount point for Windows OS

We've gotten some concerns that adding facts to core facter are contributing to performance problems in a couple places: facter execution time, puppetdb bloat, etc. Some discussion in FACT-718.

In that context, it would be nice to understand the performance implications of adding these facts to core facter.

Michael Smith (JIRA)

unread,
Jan 12, 2016, 4:58:04 PM1/12/16
to puppe...@googlegroups.com

I suspect this would be another set of WMI calls to get partition and mount. It seems useful. Mac OS X is also lacking partitions facts.

On Windows they would probably look something like

mountpoints => {
  C: => {
    available => "108.07 GiB",
    available_bytes => 116034400256,
    capacity => "76.75%",
    device => "Disk #0, Partition #1",
    filesystem => "ntfs",
    options => [
      "boot",
      "page file",
      "crash dump",
      "primary partition"
    ],
    size => "464.81 GiB",
    size_bytes => 499082485760,
    used => "356.74 GiB",
    used_bytes => 383048085504
  }
},
partitions => {
  Disk #0, Partition #0 => {
    filesystem => "ntfs",
    size => "350 MiB",
    size_bytes => 367001600,
  },
  Disk #0, Partition #1 => {
    filesystem => "ntfs",
    mount => "C:",
    size => "464.81 GiB",
    size_bytes => 499082485760,
  },
}

Michael Smith (JIRA)

unread,
Jan 12, 2016, 5:19:05 PM1/12/16
to puppe...@googlegroups.com
Michael Smith updated an issue
 

Attached some output for wmic volume list full //format:csv and wmic partition ... from a VM.

Change By: Michael Smith
Attachment: partition.txt
Attachment: volume.txt

Dylan Ratcliffe (JIRA)

unread,
Jan 21, 2016, 11:14:04 PM1/21/16
to puppe...@googlegroups.com
Dylan Ratcliffe commented on New Feature FACT-1292
 
Re: Disk partition & mount point for Windows OS

Joshuatly Tee In the meantime I have created a simple module, if you have customer that wants it urgently feel free to point them to it: https://forge.puppetlabs.com/dylanratcliffe/disk_facts

Sean McDonald (JIRA)

unread,
May 17, 2017, 1:52:03 PM5/17/17
to puppe...@googlegroups.com
Sean McDonald updated an issue
 
Change By: Sean McDonald
Labels: triaged windows
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:44:31 PM5/18/17
to puppe...@googlegroups.com
Moses Mendoza updated an issue
Change By: Moses Mendoza
Labels: triaged  windows

Michael Smith (JIRA)

unread,
Sep 20, 2017, 4:34:03 PM9/20/17
to puppe...@googlegroups.com
Michael Smith commented on New Feature FACT-1292
 
Re: Disk partition & mount point for Windows OS

For concerns around large numbers of partitions, there is opt-out support for the filesystem facts (such as partition) starting in Facter 3.5.

Sean McDonald (JIRA)

unread,
Feb 21, 2018, 1:55:04 PM2/21/18
to puppe...@googlegroups.com
Sean McDonald updated an issue
 
Change By: Sean McDonald
Labels: triaged windows
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Sean McDonald (JIRA)

unread,
Feb 21, 2018, 1:56:04 PM2/21/18
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Priority: Normal Major

Claudia Petty (Jira)

unread,
Jun 21, 2023, 8:44:04 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature windows
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages