NEC DVD_RW - file read problems.

2005-10-25 Thread aleksandr . derevianko




Hello All,

I have the following problem:

OS: FreeBSD 4.11-RELEASE.
DVD RW: acd0: DVD-R _NEC DVD_RW ND-3500AG at ata1-master UDMA33

I use DVD R's primary for data backup. The backup data is archived and splitted 
on files ~500Mb size,
which was written on DVD-R's. I have also store the MD5 sums of those files in 
small checksum file.

The problem is: sometimes then i check content on DVD the checksum is differs. 
Where is no read errors on console,
and several attempts to calculate checksum return different results.


bash-2.05b# grep 1 /cdrom/md5.sums
acc8b491f03bfa01e341808773a6f94f depot.147.tar.1
bash-2.05b# md5 /cdrom/depot.147.tar.1
MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71

# File seems cached in RAM

bash-2.05b# md5 /cdrom/depot.147.tar.1
MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71
bash-2.05b# umount /cdrom

# After unmounting and mounting again - different (correct) checksum.

bash-2.05b# !mou
mount /cdrom
bash-2.05b# md5 /cdrom/depot.147.tar.1
MD5 (/cdrom/depot.147.tar.1) = acc8b491f03bfa01e341808773a6f94f

# Now the checksum is OK.

It seems for me that sometimes device correct soft read errors on media, and 
sometimes - does not.

Does anybody have the same expirience (i.e. checksum differs without read 
errors) ?


Best Regards,
Alexander Derevyanko

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NEC DVD_RW - file read problems.

2005-10-25 Thread aleksandr . derevianko






I have already checked memory - all checks went OK.





From:

25.10.2005   07:40:35
Andrew P. [EMAIL PROTECTED]


To:Aleksandr Derevianko/RU/Transport/[EMAIL PROTECTED]
cc:freebsd-questions@freebsd.org

Security Level:?  Internal

Subject: Re: NEC DVD_RW - file read problems.


On 10/25/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:




 Hello All,

 I have the following problem:

 OS: FreeBSD 4.11-RELEASE.
 DVD RW: acd0: DVD-R _NEC DVD_RW ND-3500AG at ata1-master UDMA33

 I use DVD R's primary for data backup. The backup data is archived and
splitted on files ~500Mb size,
 which was written on DVD-R's. I have also store the MD5 sums of those
files in small checksum file.

 The problem is: sometimes then i check content on DVD the checksum is
differs. Where is no read errors on console,
 and several attempts to calculate checksum return different results.


 bash-2.05b# grep 1 /cdrom/md5.sums
 acc8b491f03bfa01e341808773a6f94f depot.147.tar.1
 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71

 # File seems cached in RAM

 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71
 bash-2.05b# umount /cdrom

 # After unmounting and mounting again - different (correct) checksum.

 bash-2.05b# !mou
 mount /cdrom
 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = acc8b491f03bfa01e341808773a6f94f

 # Now the checksum is OK.

 It seems for me that sometimes device correct soft read errors on media,
and sometimes - does not.

 Does anybody have the same expirience (i.e. checksum differs without read
errors) ?


 Best Regards,
 Alexander Derevyanko

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


Проверь память. Поставь на ночь memtest или
docmemory.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Multiple bootable FreeBSD disks in the same system

2005-05-24 Thread aleksandr . derevianko




Hello !

I'm attempting to build the Vinum-based file server. The structure is
following:
1. 5 equial-sized drives, 180 real Gbytes.
2. All drives have the same structure. 1 Partition (adXs1) divided in 3
slices:
adXs1a - 128Mb ufs
adXs1b - 128 Mb swap
adXs1d - vinum partition.

/usr, /var, /tmp is on vinum partition. Root partition is copied on every
HD in the system.

Vinum works, system boots OK, but if i take out drive number 0 (bootable),
and attempt to boot from another drive, system refuses to boot with
Can't mount root message.
Of course, fstab is wrong, but i'm expecting at least boot in single-user -
it doesn't, just reboots.

The problem is: Before this message, system ask for root filesystem (in
form ufs:/dev/adXs1a),
but it seems like it doesn't see it.

I have found the solution to this problem - in loader prompt enter boot
-a, the kernel boots,
shows exactly the same prompt as previously for root filesystem, and
proceed
without any problems.

If i change wiring to make another drive ad0, it works without problems at
all.

OS version: FreeBSD 4.11 RELEASE, GENERIC kernel.

All drives are bootable (standart MBR, dos partition active, disklabel -B).

Best Regards,
Alexander Derevyanko

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to find out the type of CD in burner from script ?

2003-10-09 Thread aleksandr . derevianko
Hello !

I have the following problem: I'm writing backup scripts, to store SCM tree on
CD via ATAPI CD-burner.
I need to have ability from inside the script find out the type of CD in burner:
Is it CD-R or CD-RW, and is it blank or not,
and also obtain at least CD label without mounting CD.

Search in mail archive does nothing, so if anybody know how to do this, please
respond.

P.S. I'm using FreeBSD 4.8 and PLEXTOR CD-R PX-W4824A.

Best regards,
Alexander.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to find out the type of CD in burner from script ?

2003-10-09 Thread aleksandr . derevianko
No, i can't use cdrecord. It is for SCSI CD-writers, and i have ATAPI.

Best regards,
Alexander





Shantanoo Mahajan [EMAIL PROTECTED] on 09.10.2003 17:34:03


To:   Aleksandr Derevianko/RU/Transport/[EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]

Security Level:? Internal

Subject: Re: How to find out the type of CD in burner from script ?



+-- [EMAIL PROTECTED] [freebsd] [09-10-03 19:05
IST]:
| Hello !
|
| I have the following problem: I'm writing backup scripts, to store SCM tree on
| CD via ATAPI CD-burner.
| I need to have ability from inside the script find out the type of CD in
burner:
| Is it CD-R or CD-RW, and is it blank or not,
| and also obtain at least CD label without mounting CD.
|
| Search in mail archive does nothing, so if anybody know how to do this, please
| respond.
|
| P.S. I'm using FreeBSD 4.8 and PLEXTOR CD-R PX-W4824A.
|
| Best regards,
| Alexander.

 If you are using cdrecord, you may be interested in

 # cdrecord -scanbus

--
With Best Regards,
Shantanoo Mahajan





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]