Author Archive for Arvin Schnell
28 Partitions on a Single Disk? No Problem!
Wednesday, August 5th, 2009 by Arvin SchnellSo far it was only possible to have upto 16 device nodes for a single disks. This restricted the number of usable partitions. As a workaround kpartx could be used to create device mapper mappings for further partitions but that was never fully integrated in openSUSE.
With version 2.6.28 the kernel supports upto 256 device nodes per disk, much more than the partition table allows. But since the implementation is not straightforward, the additional device nodes are assigned dynamically, user-space programs may need to be adapted.
For openSUSE 11.2 Milestone 5 YaST was extended to support this new kernel feature.
Some quick tests showed only problems with LVM. If you are interested in this feature and have the possibility please give it a try so that we find remaining bugs.
Introducing Libstorage
Monday, July 20th, 2009 by Arvin SchnellLibstorage is a C++ library for managing Linux storage devices. So far it was developed as part of YaST but since a few weeks it is an independent project.
Here is a code example creating a 1GB partition on /dev/sdb.
Environment env(false); StorageInterface* s = createStorageInterface(env); string name; // Create 1GB partition on /dev/sdb and format it with Ext4. s->createPartitionAny("/dev/sdb", 1048576, name); s->changeFormatVolume(name, true, EXT4); // Set mount-point to "/home" and fstab option to "relatime". s->changeMountPoint(name, "/home"); s->changeFstabOptions(name, "relatime"); // Set filesystem label to "HOME" and mount filesystem by label. s->changeLabelVolume(name, "HOME"); s->changeMountBy(name, MOUNTBY_LABEL); // Commit the change to the system. This will create the partition, // format and mount it and update /etc/fstab. s->commit(); destroyStorageInterface(s);
Besides of hard-disks libstorage handles RAID, LVM, NFS, various filesystems and encryption. Swig generated Python bindings are also provided. Libstorage has no dependencies on YaST, neither for building nor runtime. We hope libstorage will also be useful for other projects.
More information is available in the openSUSE Wiki, including a list of useful features people would love to see implemented in the near future.
Comments are as always welcome.
YaST and Compiz during Installation
Wednesday, April 1st, 2009 by Arvin SchnellWe (Thomas Göttlicher, J. Daniel Schmidt and Arvin Schnell) have use all our
remaining ITO for this really cool feature.
Normally compiz (more precisely the cube module) shows each desktop on the
surface of a cuboid. Since we don’t have several desktops during installation
we decided to show the “wizard” steps on the cuboid. Pressing “Next” or “Back”
rotates the cuboid around the y-axis:

Entering a “subwizard” rotates the cuboid around the x-axis:

Fortunately most computers are fast enough to render the 3D-scene even without
special hardware support that we lack during installation.
Will be available in Factory within the next weeks. Comments are welcome.
Context Menus in YaST Partitioner
Friday, March 6th, 2009 by Arvin SchnellWe received some complains that the redesigned partitioner on openSUSE 11.1 is
tedious to use. To remedy these shortcomings I’m adding context menus to the
tables so that it is no longer required to select the correct view using the
navigation tree to perform some operation. Almost all operation should be
available via context menus in the main view listing all devices.

As usual comments are welcome.
Graph of Storage Devices
Monday, January 19th, 2009 by Arvin SchnellWith openSUSE 11.1 on the road we developers can use some time for new ideas. One idea on my mind for month was to show the dependencies of storage devices in a graph. Using graphviz and QGraphicsScene a first version was running within few days.
It’s far from finished. Some items still missing are:
- Use different shapes and colors for different devices types.
- Some basic user-interaction.
Will be available in Factory within the next weeks. Further improvements are welcome.
Redesign of YaST Expert Partitioner
Friday, May 16th, 2008 by Arvin SchnellWe are redesigning the YaST Expert Partitioner for openSUSE 11.1 and SLE11. The main idea is to have a navigation tree with all available storage devices on the left side and to display information on the right side along with buttons to perform appropriate actions. See the screenshot.
RPMs are available in the openSUSE Build Server in the repository home:aschnell. They are far from finished by you can already navigate in the tree and inspect you storage system. It should be possible to see where we are heading with the redesign. You can install them on your openSUSE 11.0 Beta 3.



(5 votes, average: 4.60 out of 5)
(17 votes, average: 4.24 out of 5)