Skip to contentSkip to conversation

How do i make reiser4 filesystem available via /etc/fstab ?

DISCUSSION [email protected] 3 participants 6 messages Aug 16, 2008

lore
Share & tools
lore
#0 lore raw

hello,

Question.
How do I make reiser4 a permanent fixture via /etc/fstab (after reboots)?. I am using opensuse 11.

Manual commands I have used in the past to access the filesystem:

# mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda -fy
# fsck.reiser4 --fix /dev/sda -y
# mkdir /reiser4
# mount -t reiser4 /dev/sda /reiser4

Access looks like: /dev/sda on /reiser4 type reiser4 (rw)

My fstab looks like this at the moment:

# cat /etc/fstab
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part1 swap      
          swap       defaults              0 0
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part2 /         
          reiserfs   acl,user_xattr        1 1
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part3 /home     
          reiserfs   defaults              1 2
proc                 /proc                proc       defaults             
0 0
sysfs                /sys                 sysfs      noauto               
0 0
debugfs              /sys/kernel/debug    debugfs    noauto               
0 0
usbfs                /proc/bus/usb        usbfs      noauto               
0 0
devpts               /dev/pts             devpts     mode=0620,gid=5      
0 0
#1 lore raw
Quoted 34 lines · On Samstag, 16. August 2008, [email protected] wrote:

hello,

Question.
How do I make reiser4 a permanent fixture via /etc/fstab (after reboots)?. I am using opensuse 11.

Manual commands I have used in the past to access the filesystem:

# mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda -fy
# fsck.reiser4 --fix /dev/sda -y
# mkdir /reiser4
# mount -t reiser4 /dev/sda /reiser4

Access looks like: /dev/sda on /reiser4 type reiser4 (rw)

My fstab looks like this at the moment:

# cat /etc/fstab
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part1 swap
          swap       defaults              0 0
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part2 /
          reiserfs   acl,user_xattr        1 1
/dev/disk/by-id/scsi-SATA_WDC_WD800BB-00J_WD-WCAM9L615149-part3 /home
          reiserfs   defaults              1 2
proc                 /proc                proc       defaults
0 0
sysfs                /sys                 sysfs      noauto
0 0
debugfs              /sys/kernel/debug    debugfs    noauto
0 0
usbfs                /proc/bus/usb        usbfs      noauto
0 0
devpts               /dev/pts             devpts     mode=0620,gid=5
0 0
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

you don't mkfs whole disks, only partitions.

And then have a look.
First path to device (like /dev/sdaX) then path to mount point, then fs type, additional options, 0 0

#2 lore raw

Hello,
I tried the following in /etc/fstab, and restarted, no luck, /dev/sda /reiser4 reiser4 0 0

By the way, this whole disk(separate to the o/s) was intended to be reiser4. Glenn

Quoted 20 lines

Volker Armin Hemmann wrote :
you don't mkfs whole disks, only partitions.

And then have a look.
First path to device (like /dev/sdaX) then path to mount point, then fs type,
additional options, 0 0

Quoted 12 lines

Hello,

Question.
How do I make reiser4 a permanent fixture via /etc/fstab (after reboots)?.
I am using opensuse 11.

Manual commands I have used in the past to access the filesystem:

# mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda -fy
# fsck.reiser4 --fix /dev/sda -y
# mkdir /reiser4
# mount -t reiser4 /dev/sda /reiser4
#3 lore raw
Quoted 6 lines · On Samstag, 16. August 2008, [email protected] wrote:

Hello,
I tried the following in /etc/fstab, and restarted, no luck, /dev/sda /reiser4 reiser4 0 0

By the way, this whole disk(separate to the o/s) was intended to be reiser4. Glenn

then create one big partition.

#4 lore raw

Am Samstag, 16. August 2008 13:47:15 schrieb Volker Armin Hemmann:

Quoted 4 lines
Quoted 2 lines

By the way, this whole disk(separate to the o/s) was intended to be reiser4. Glenn

then create one big partition.

Just want say that this is not necessary. filesystems can use the whole disk without partitions. It's a common way to bypass DOS partion limitations. Don't know the limit atm, but I remember to do so with >20TB :-).

Sascha.

#5 lore raw
In reply to [email protected]

Am Samstag, 16. August 2008 12:44:38 schrieb [email protected]:

Quoted 2 lines

I tried the following in /etc/fstab, and restarted, no luck, /dev/sda /reiser4 reiser4 0 0

the options column is missing: i.e. "noatime" or just "defaults"

/dev/sda /reiser4 reiser4 noatime 0 0

see MOUNT(8) and FSTAB(5)

Sascha.