D
D
Daniel Newman2012-09-06 05:47:15
Debian
Daniel Newman, 2012-09-06 05:47:15

What is wrong with fstab and where are my logs? Secrets /etc/messages?

After installing proxmox in debian, I remounted @ data
it to a more convenient directory for me /pvedata.

# cat /etc/fstab
proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/md/0 /boot ext4 defaults 0 0

## /dev/md/1 belongs to LVM volume group 'pve'
/dev/pve/swap     swap         swap  defaults 0 0
/dev/pve/root     /            ext4  defaults 0 0
/dev/pve/vz       /var/lib/vz  ext4  defaults 0 0
/dev/pve/data     /pvedata     ext4  default 0 0

Since then, every reboot forced me to manually mount the partition again.
Yes, yes, when I published the question and "combed" the columns, which are not in the original
file, I found this huge mistake for attentiveness and, apparently, corrected
it. But still, it's kind of stupid. Where and how to look at the logs for such
errors, at the cost of a week of hemorrhoids?
This was the mysterious error in /etc/messages?
EXT4-fs (dm-0): warning:  maximal mount count reached, running e2fsck is recommended

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sn00p, 2012-09-06
@danielnewman

O_o what is /etc/messages?
/var/log/kern.log includes dmesg output, mount error messages, and various hardware and kernel annoyances can be viewed there. If everything crashes during the download or work process, then you will most likely find the reason in this file. Although, not a fact, depending on how it falls.
This is the kernel log, debian manages this thing rsyslogd, the imklog module. You can customize as you like, if you put, for example, syslog-ng.

S
sn00p, 2012-09-06
@sn00p

By the way, it mounts with this option))

/dev/mapper/pve-root on /mnt type ext3 (rw,default)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question