Jump to content

i have this funny partition table on a notebook


dil_bert

Recommended Posts

hello

 

i have this funny partition table on  a notebook

 

running opensuse 42.3 -

 

what can i do!?


linux-jnmx:/home/martin # df -aTh
Dateisystem    Typ             Größe Benutzt Verf. Verw% Eingehängt auf
sysfs          sysfs               0       0     0     - /sys
proc           proc                0       0     0     - /proc
devtmpfs       devtmpfs         1,9G       0  1,9G    0% /dev
securityfs     securityfs          0       0     0     - /sys/kernel/security
tmpfs          tmpfs            1,9G    360K  1,9G    1% /dev/shm
devpts         devpts              0       0     0     - /dev/pts
tmpfs          tmpfs            1,9G    2,4M  1,9G    1% /run
tmpfs          tmpfs            1,9G       0  1,9G    0% /sys/fs/cgroup
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/systemd
pstore         pstore              0       0     0     - /sys/fs/pstore
efivarfs       efivarfs            0       0     0     - /sys/firmware/efi/efivars
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/net_cls,net_prio
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/perf_event
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/freezer
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/cpu,cpuacct
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/pids
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/devices
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/memory
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/cpuset
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/hugetlb
cgroup         cgroup              0       0     0     - /sys/fs/cgroup/blkio
/dev/sda3      btrfs             21G    5,8G   14G   30% /
systemd-1      autofs              0       0     0     - /proc/sys/fs/binfmt_misc
debugfs        debugfs             0       0     0     - /sys/kernel/debug
mqueue         mqueue              0       0     0     - /dev/mqueue
hugetlbfs      hugetlbfs           0       0     0     - /dev/hugepages
/dev/sda3      btrfs             21G    5,8G   14G   30% /srv
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/spool
/dev/sda3      btrfs             21G    5,8G   14G   30% /opt
/dev/sda3      btrfs             21G    5,8G   14G   30% /.snapshots
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/opt
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/libvirt/images
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/pgsql
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/named
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/mysql
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/mailman
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/tmp
/dev/sda3      btrfs             21G    5,8G   14G   30% /tmp
/dev/sda1      vfat             156M    4,6M  152M    3% /boot/efi
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/machines
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/crash
/dev/sda3      btrfs             21G    5,8G   14G   30% /boot/grub2/i386-pc
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/lib/mariadb
/dev/sda3      btrfs             21G    5,8G   14G   30% /usr/local
/dev/sda3      btrfs             21G    5,8G   14G   30% /boot/grub2/x86_64-efi
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/log
/dev/sda3      btrfs             21G    5,8G   14G   30% /var/cache
/dev/sda4      xfs              444G     29G  415G    7% /home
tmpfs          tmpfs            384M     20K  384M    1% /run/user/1000
fusectl        fusectl             0       0     0     - /sys/fs/fuse/connections
gvfsd-fuse     fuse.gvfsd-fuse  0,0K    0,0K  0,0K     - /run/user/1000/gvfs

Link to comment
Share on other sites

hello dear friends, good evening dear requinix,

 

many many thanks for writing

 

 

 

have found some tips with partitioning with fdisk

 

see here: http://www.tldp.org/HOWTO/Partition/fdisk_partitioning.html

 

This section shows you how to actually partition your hard drive with the fdisk utility. Linux allows only 4 primary partitions. You can have a much larger number of logical partitions by sub-dividing one of the primary partitions. Only one of the primary partitions can be sub-divided.

Examples:

  1. Four primary partitions (see Section 5.2)

  2. Mixed primary and logical partitions (see Section 5.3)

5.1. fdisk usage

fdisk is started by typing (as root) fdisk device at the command prompt. device might be something like /dev/hda or /dev/sda (see Section 2.1.1). The basic fdisk commands you need are:

p print the partition table

n create a new partition

d delete a partition

q quit without saving changes

w write the new partition table and exit

Changes you make to the partition table do not take effect until you issue the write (w) command. Here is a sample partition table:

Disk /dev/hdb: 64 heads, 63 sectors, 621 cylinders
Units = cylinders of 4032 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 184 370912+ 83 Linux
/dev/hdb2 185 368 370944 83 Linux
/dev/hdb3 369 552 370944 83 Linux
/dev/hdb4 553 621 139104 82 Linux swap The first line shows the geometry of your hard drive. It may not be physically accurate, but you can accept it as though it were. The hard drive in this example is made of 32 double-sided platters with one head on each side (probably not true). Each platter has 621 concentric tracks. A 3-dimensional track (the same track on all disks) is called a cylinder. Each track is divided into 63 sectors. Each sector contains 512 bytes of data. Therefore the block size in the partition table is 64 heads * 63 sectors * 512 bytes er...divided by 1024. (See 4 for discussion on problems with this calculation.) The start and end values are cylinders.
 

well see below... http://www.tldp.org/HOWTO/Partition/fdisk_partitioning.html

 

i will work out some partition plans to get a better partition

Link to comment
Share on other sites

good evenind dear requinix

 

many many thanks for the answer:!

 

well  - i want to see what i can do with the fdisk - it is a very very powerful command.

as a alternative - i can use gpartd or some thing like this ...

 

 

 

 

back to the commands i have  runned:  i have run a further command -  without the a statement:

 

The -a, --all option means "include dummy file systems"

-a or -all option include in the listing filesystems that have a size of 0 blocks, which are omitted by default.

Such filesystems are typically special-purpose pseudo-filesystems, such as automounter entries.

Source What is dummy filesystem?,

And from the comments to that answer:

The -a, --all option means "include dummy file systems"

-a or -all option include in the listing filesystems that have a size of 0 blocks, which are omitted by default.

Such filesystems are typically special-purpose pseudo-filesystems, such as automounter entries.

 

THE A STATEMENT -it shows us
special-purpose pseudo-filesystems
and are not needless.

if we just don't use the -a option - the you won't see them
:)

see below:
df -Th 
Dateisystem    Typ      Größe Benutzt Verf. Verw% Eingehängt auf
devtmpfs       devtmpfs  1,9G       0  1,9G    0% /dev
tmpfs          tmpfs     1,9G    5,3M  1,9G    1% /dev/shm
tmpfs          tmpfs     1,9G    2,5M  1,9G    1% /run
tmpfs          tmpfs     1,9G       0  1,9G    0% /sys/fs/cgroup
/dev/sda3      btrfs      21G    5,8G   14G   30% /
/dev/sda3      btrfs      21G    5,8G   14G   30% /srv
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/spool
/dev/sda3      btrfs      21G    5,8G   14G   30% /opt
/dev/sda3      btrfs      21G    5,8G   14G   30% /.snapshots
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/opt
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/libvirt/images
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/pgsql
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/named
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/mysql
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/mailman
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/tmp
/dev/sda3      btrfs      21G    5,8G   14G   30% /tmp
/dev/sda1      vfat      156M    4,6M  152M    3% /boot/efi
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/machines
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/crash
/dev/sda3      btrfs      21G    5,8G   14G   30% /boot/grub2/i386-pc
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/lib/mariadb
/dev/sda3      btrfs      21G    5,8G   14G   30% /usr/local
/dev/sda3      btrfs      21G    5,8G   14G   30% /boot/grub2/x86_64-efi
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/log
/dev/sda3      btrfs      21G    5,8G   14G   30% /var/cache
/dev/sda4      xfs       444G     29G  415G    7% /home
tmpfs          tmpfs     384M     24K  384M    1% /run/user/1000
linux-jnmx:/home/martin #

 

well dear Requinix - what do you think . - am i able to create a tiny little set of pattitions

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.