-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
We use the filesystem/config from the standard library.
We would like to create a filesystem using this code in a FILESYSTEM_LAYOUT_CONFIG_SITE template :
variable DISK_VOLUME_PARAMS = {
t = dict();
t['osd'] = dict(
'size', -1,
'mountpoint', '/var/lib/ceph/osd/vdb',
'fstype', CEPH_FS,
'type', 'partition',
'device', 'vdb1',
'preserve', true,
'mkfsopts', CEPH_DISK_OPTIONS[CEPH_FS]['mkfsopts'],
'mountopts', CEPH_DISK_OPTIONS[CEPH_FS]['mountopts'],
);
t;
};
The first problem is that the attributes 'mkfsopts' and 'mountopts' are not taken into account. I've tried to workaround this problem by adding the necessary code in filesystem/config, but then I fall on a second problem : the mount options are not taken into account in the generation of the /etc/fstab.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels