dil_bert Posted September 10, 2017 Share Posted September 10, 2017 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 Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/ Share on other sites More sharing options...
requinix Posted September 10, 2017 Share Posted September 10, 2017 That's not a partition table. That's a list of mount points. If you're asking about all the btrfs entries, those are subvolumes being used for snapshots. Wiki Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551094 Share on other sites More sharing options...
dil_bert Posted September 10, 2017 Author Share Posted September 10, 2017 (edited) 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: Four primary partitions (see Section 5.2) Mixed primary and logical partitions (see Section 5.3) 5.1. fdisk usagefdisk 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 cylindersUnits = cylinders of 4032 * 512 bytesDevice 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 Edited September 10, 2017 by dil_bert Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551095 Share on other sites More sharing options...
requinix Posted September 10, 2017 Share Posted September 10, 2017 If you don't know what you're doing then don't touch anything. Just leave it. Why do you want to fiddle with it? What's wrong with the current setup? Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551097 Share on other sites More sharing options...
dil_bert Posted September 10, 2017 Author Share Posted September 10, 2017 well i would be more than happy to have a small tiny and appropiate partition table that i can run with fdisk command. then i would run this command Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551098 Share on other sites More sharing options...
requinix Posted September 10, 2017 Share Posted September 10, 2017 And why do you want to use fdisk? For fun? Learning? Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551105 Share on other sites More sharing options...
dil_bert Posted September 10, 2017 Author Share Posted September 10, 2017 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 Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551109 Share on other sites More sharing options...
requinix Posted September 10, 2017 Share Posted September 10, 2017 Grab a USB stick and experiment with that. Don't use fdisk or gparted on your actual hard drive(s). Quote Link to comment https://forums.phpfreaks.com/topic/304936-i-have-this-funny-partition-table-on-a-notebook/#findComment-1551110 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.