Welcome to the Linux Foundation Forum!

Lab 9.1 - how to enter unpartitioned space [SOLVED - actually, wrong assumption]

dbuday
dbuday Posts: 17

I made 10 GB of unpartitioned space on sdc:

lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 149,1G 0 disk

├─sda1 8:1 0 1K 0 part

├─sda2 8:2 0 33,5G 0 part /

├─sda3 8:3 0 113,7G 0 part /home

└─sda5 8:5 0 1,9G 0 part [SWAP]

sdb 8:16 0 74,5G 0 disk

├─sdb1 8:17 0 67,1G 0 part /mnt/pool

└─sdb2 8:18 0 7,5G 0 part /mnt/share

sdc 8:32 0 57,3G 0 disk

└─sdc2 8:34 0 47,3G 0 part

sr0 11:0 1 1024M 0 rom

Exercise is to use:

dd if=/dev/zero of=imagefile bs=1M count=1024

I don`t want to use dd (disk destroyer) without precaution.

How to enter that unpartitioned space and execute this line with no harm done?

Comments

  • dbuday
    dbuday Posts: 17
    It is solved.

    Unpartitioned space is for future use - not for this exercise.
    This image file is to be made on normal partition.

    Beginning of lab confused me, because there is text about how to make unpartitioned space, and right after there is that command:
    dd if=/dev/zero of=imagefile bs=1M count=1024

    So, i`ve assumed i need to make image file in empty space.
    Wrong assumption.

Categories

Upcoming Training