Re: Why syslog is not rotating?
Raco already basically said what the issue is. I didn't notice it in
the prior messages you posted. If you wanted to confirm, after you
migrate your data, do a:
dd if=/dev/zero of=<old disk>
and then looking at something like:
iostat -xtc 5 /dev/<old disk>
And, if you don't see an error there, do
dd if=<(tr '\000' '\377' < /dev/zero) of=<old disk>
and look at the iostat for that.
Even if the disk won't tell the kernel it's breaking, chances are dd
will error. But, even if that doesn't happen, you'd notice a big slow
down with iostat.
As it is, disks are cheap - get another one and be done with the old one.
On Mon, Nov 4, 2013 at 6:16 AM, Itay <debian@itayf.fastmail.fm> wrote:
> On Mon, 4 Nov 2013, Shawn Wilson wrote:
>
>> Date: Mon, 04 Nov 2013 04:46:48 -0500
>
>
> For some reason your messages ended up in a differenet mailbox, therefore I
> saw them only now. Sorry about that.
>
> As was recommended I will replace the harddrive that holds /var.
>
> Nevertheless, respectfully, I will answer your response.
>
>
>> I can't see how a default config would do this, but do you have SELinux or
>> AppArmor enabled? What does fstab and mount show?
>
>
> I didn't enable SElinux or AppArmor.
> How do I double-check?
>
> mount output:
>
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type devtmpfs
> (rw,relatime,size=10240k,nr_inodes=473761,mode=755)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=380288k,mode=755)
> /dev/disk/by-uuid/4712a4c6-be99-43bf-8628-0edd641d5262 on / type ext3
> (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2323680k)
> /dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)
> /dev/mapper/vg-cache on /cache type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-home on /home type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-opt on /opt type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-tmp on /tmp type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-usr on /usr type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-usrlocal on /usr/local type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/mapper/vg-var on /var type ext3
> (rw,relatime,errors=continue,barrier=1,data=ordered)
> /dev/sdb8 on /legacy type ext3
> (rw,nosuid,nodev,noexec,relatime,errors=continue,barrier=1,data=ordered)
> rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
>
> And /etc/fstab:
>
> # /etc/fstab: static file system information.
>
> # !! Note !!
> # UUID is a property of the residing file system -- not of the device.
> # Any file system reformatting will result in change to UUID.
>
> # <file system> <mount point> <type> <options> <dump> <pass>
>
> ####################### Static Devices #######################
>
> proc /proc proc defaults 0
> 0
>
> # Master Hard Drive Partitions
>
> # 1: boot (purposefully an ext2 partition)
> UUID=81d775af-9f80-4081-be71-c8d379c05944 /boot ext2 defaults
> 0 2
> # 2: root file system
> UUID=4712a4c6-be99-43bf-8628-0edd641d5262 / ext3
> errors=remount-ro 0 1
> # 3: swap partition
> UUID=73035ad5-bba9-4d8e-8cfd-546ab09ac456 none swap sw
> 0 0
>
> # LVM
> /dev/mapper/vg-cache /cache ext3 defaults 0
> 2
> /dev/mapper/vg-home /home ext3 defaults 0
> 2
> /dev/mapper/vg-opt /opt ext3 defaults 0
> 2
> /dev/mapper/vg-tmp /tmp ext3 defaults 0
> 2
> /dev/mapper/vg-usr /usr ext3 defaults 0
> 2
> /dev/mapper/vg-usrlocal /usr/local ext3 defaults 0
> 2
> /dev/mapper/vg-var /var ext3 defaults 0
> 2
>
>
> ###################### Removable Media ######################
>
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
> #/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
>
> # USB: Gandalf Attached Storage.
> UUID=6b01200d-446d-46da-b6ac-405f1ec5b1bf /legacy ext3 user
> 0 0
> UUID=0866a19d-3661-422b-818c-410d96868139 /media/gandalfBACK ext3
> noauto,user 0 0
> # LABEL="gandalfBACK2" Gandalf's secondary backup (kept at my
> parents' house)
> UUID=14a0b647-02e0-4681-b37c-cea165004e24 /media/gandalfBACK2 ext3
> noauto 0 0
>
> # USB: Portable disk.
> UUID=ac334401-5833-4946-bc7b-4d93622ea929 /media/palm/legacy ext3
> noauto,user 0 0
> UUID=807e9825-1838-4d5c-bada-e54a7d94e2ff /media/palm/lennyBACK ext3
> noauto,user 0 0
> UUID=3A39-B1B2 /media/palm/reut12 vfat
> rw,noauto,user 0 0
>
> # USB: Ora's portable disk.
> UUID=57e7b504-442c-396e-8c77-dcdd9e6b54d6 /media/usbora hfsplus
> rw,noauto,user 0 0
>
> # USB: Nikon D300, 8, 4, & 2, GB cards
> UUID=4DCC-F3FA /media/D300-8 vfat ro,noauto,user 0 0
> UUID=888E-E0E0 /media/D300-4 vfat ro,noauto,user 0 0
> UUID=C496-1651 /media/D300-2 vfat ro,noauto,user 0 0
> # USB: Card reader
> LABEL=CF /media/D300 vfat ro,noauto,user 0 0
>
> # USB: bilbo's backup
> LABEL=bilboBACK /media/usbdisk ext3 rw,noauto,user 0 0
>
> # USB: My good old stick
> LABEL=PUBLIC /media/PUBLIC vfat rw,noauto,user 0 0
>
> # USB: Little cyan cruize blade (LABEL='ItayF sky')
> UUID=C042-86D6 /media/sky vfat rw,noauto,user 0 0
> # USB: Little red cruize blade (LABEL='ItayF fire')
> UUID=782C-9B8B /media/fire vfat rw,noauto,user 0 0
>
>
>
>> If possible, copy the system off and write ones and then zeros to the disk
>> (and look for speed drops). Looking at the disk might've been a good call.
>
>
> I don't understand the procedure you suggest, but it's not necessary after
> deciding to replace the HDD anyhow -- I guess.
>
> Many thanks,
> Itay
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive:
> [🔎] alpine.DEB.2.02.1311041303540.7090@gandalf.furmanet">http://lists.debian.org/[🔎] alpine.DEB.2.02.1311041303540.7090@gandalf.furmanet
>
Reply to: