Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "fdisk -l" in tinkerbell action doesn't show disk model #108

Open
ygao-armada opened this issue Feb 19, 2024 · 0 comments
Open

Command "fdisk -l" in tinkerbell action doesn't show disk model #108

ygao-armada opened this issue Feb 19, 2024 · 0 comments

Comments

@ygao-armada
Copy link

The disk model is missing in the output of command "fdisk -l" in tinkerbell action whose image has base of alpine.

Found valid GPT with protective MBR; using GPT

Disk /dev/sda: 937571968 sectors, 3142M
Logical sector size: 512
Disk identifier (GUID): d289196f-8852-4825-b457-733b65797b0a
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 937571934

Number Start (sector)  End (sector) Size Name
   1       34     1050815 513M EFI System Partition
   2     1050816    937571934 446G
Disk /dev/sdb: 1788 GB, 1919716163584 bytes, 3749445632 sectors
233392 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Disk /dev/sdb doesn't contain a valid partition table
Found valid GPT with protective MBR; using GPT

Disk /dev/sdc: 3749445632 sectors, 3968M
Logical sector size: 512
Disk identifier (GUID): d289196f-8852-4825-b457-733b65797b0a
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 12582878

Number Start (sector)  End (sector) Size Name
   1       34     1050815 513M EFI System Partition
   2     1050816    12582878 5630M

Expected Behaviour

The complete outout of command "fdisk -l" is as follows:

Disk /dev/sda: 1.76 TiB, 1919716163584 bytes, 3749445632 sectors
Disk model: PERC H755 Front 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes


Disk /dev/sdb: 1.76 TiB, 1919716163584 bytes, 3749445632 sectors
Disk model: PERC H755 Front 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disklabel type: gpt
Disk identifier: D289196F-8852-4825-B457-733B65797B0A

Device       Start        End    Sectors   Size Type
/dev/sdb1       34    1050815    1050782 513.1M EFI System
/dev/sdb2  1050816 3749445598 3748394783   1.8T Linux filesystem

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.


Disk /dev/sdc: 447.7 GiB, 480036847616 bytes, 937571968 sectors
Disk model: DELLBOSS VD     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D289196F-8852-4825-B457-733B65797B0A

Device       Start       End   Sectors   Size Type
/dev/sdc1       34   1050815   1050782 513.1M EFI System
/dev/sdc2  1050816 937571934 936521119 446.6G Linux filesystem

Partition 1 does not start on physical sector boundary.

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:

  • Link to your project or a code example to reproduce issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant