Mounting UDF formatted DVD+RW in read-write mode
Hi folks,
I'm having trouble getting Leopard to mount a freshly formatted UDF DVD+RW in read-write mode. It always seems to come up mounted read-only regardless of the options I give mount or mount_udf. I've tried default and 2.5 versions of UDF, specifying fix-packet when creating the volume, specifying -w on mount_udf, specifying -o w on mount, etc.
The disc seems to be created okay, and shows free space..Just can't figure out how to use it. Any thoughts/working recipes? Example transcript follows..
Thanks in advance,
- Zanthrox
scutter:~ doucej$ newfs_udf -v "Backup" /dev/disk1
write to block device: /dev/disk1 last written block address: 2295103
scutter:~ doucej$ mkdir /Volumes/Backup
scutter:~ doucej$ sudo mount_udf -w /dev/disk1 /Volumes/Backup
scutter:~ doucej$ df
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 454819840 320448088 133859752 71% /
devfs 213 213 0 100% /dev
fdesc 2 2 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
/dev/disk0s3 32905496 32284360 621136 99% /Volumes/Untitled
/dev/disk1 9178360 572 9177788 1% /Volumes/Backup
Looks good so far -- the volume was created fine, is readable, mountable, and shows free space..
scutter:~ doucej$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fdesc, union)
map -hosts on /net (autofs, automounted)
map auto_home on /home (autofs, automounted)
/dev/disk0s3 on /Volumes/Untitled (ntfs, local, read-only, noowners)
/dev/disk1 on /Volumes/Backup (udf, local, read-only)
scutter:~ doucej$
....but it still won't come up read-write, so I can't actually use it.
If LVM has dropped write permissions on a volume or group then its probably for a good reason. You might want to look at the root cause for the failure and check /var/log/messages for any information.
If you don't care about the data, you might be able to to bring back write access using
<pre>
lvchange --ignorelockingfailure -p w VolGroup00-LogVol14
</pre>
But like I said, there is probably a good reason why the volume is write protected in order to prevent further damage, or because of a underlying hardware issue.
Similar Messages
-
How to open a "manual" Physical standby database in read/write mode
Hi,
I am running Oracle Database 10g Release 10.2.0.3.0 - 64bit Production Standard Edition on Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3))
I've created a physical standby database, but since I am running Standard Edition, I am not using the DataGuard features. I use the rsync utility to copy over the archivelogs to the standby database, and I apply them periodically to the standby database.
The standby database is started this way :
startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
alter database mount standby database;
Everything runs perfectly fine, I can do "alter database open read only" and then I can do selects into tables to confirm that everything is up to date.
The thing is, if I shutdown immediate the database, then do just startup :
shutdown immediate;
startup;
The database opens with no error messages, but is still in read-only mode...
I read that the default behavior for a standby database is to open read-only, like I am experiencing, but I would like to know what is the right way to open it correctly in read-write mode (I understand that after that, my standby will not be standby anymore and that I will have to recreate my standby database).
Thanks,
MatHello,
There're features which allows you to open a Standby database in Read/Write mode but for all I know
it needs Entreprise Edition.
In Enterprise Edition you can use Logical Standby database. More over, for Physical standby there's
a way by using flashback database so as to rolling backward the database and avoiding to recreate
the Standby.
In Standard Edition I'm afraid that you'll have to recreate your Standby database.
Best regards,
Jean-Valentin -
To export query from Access to Excel in Read/Write mode in VBA
Below is the code which exports the query named 'LatestSNR' from Access to Excel;
Public Sub Expdata()
Dim rst As DAO.Recordset
Dim Apxl As Object
Dim xlWBk, xlWSh As Object
Dim PathEx As String
Dim fld As DAO.Field
PathEx = Forms("Export").Text14 'path comes from the directory given in form
Set Apxl = CreateObject("Excel.Application")
Set rst = CurrentDb.OpenRecordset("LatestSNR")
Set xlWBk = Apxl.Workbooks.Open(PathEx)
'xlWBk.ChangeFileAccess xlReadWrite
Set xlWBk = Workbook("PathEx")
Apxl.Visible = True
Set xlWSh = xlWBk.Worksheets("Metadatasheet")
xlWSh.Activate
xlWSh.Range("A2").Select
For Each fld In rst.Fields
Apxl.ActiveCell = fld.Name
Apxl.ActiveCell.Offset(0, 1).Select
Next
rst.MoveFirst
xlWSh.Range("A2").CopyFromRecordset rst
xlWSh.Range("1:1").Select
' selects all of the cells
Apxl.ActiveSheet.Cells.Select
' selects the first cell to unselect all cells
xlWSh.Range("A2").Select
rst.Close
Set rst = Nothing
' Quit excel
Apxl.Quit
End Sub
After the execution of code, the query is transferred to excel sheet and is viewed in 'Read only' mode. If I try to save it, a copy of the excel file is produced. Can the Excel be opened in Read/Write mode ? so as to save the workbook and also to transfer
the query to same workbook repeatedly.
If in case the change of mode is not possible, then is there any alternative method?Try this version:
Public Sub Expdata()
Dim rst As DAO.Recordset
Dim Apxl As Object
Dim xlWBk As Object, xlWSh As Object
Dim PathEx As String
Dim i As Long
PathEx = Forms("Export").Text14 'path comes from the directory given in form
Set Apxl = CreateObject("Excel.Application")
Set xlWBk = Apxl.Workbooks.Open(PathEx)
Set xlWSh = xlWBk.Worksheets("Metadatasheet")
Set rst = CurrentDb.OpenRecordset("LatestSNR")
For i = 1 To rst.Fields.Count
xlWSh.Cells(1, i).Value = rst.Fields(i - 1).Name
Next i
rst.MoveFirst
xlWSh.Range("A2").CopyFromRecordset rst
xlWBk.Close SaveChanges:=True
Apxl.Quit
rst.Close
Set rst = Nothing
End Sub
or else
Public Sub Expdata()
Dim PathEx As String
PathEx = Forms("Export").Text14 'path comes from the directory given in form
DoCmd.TransferSpreadsheet TransferType:=acExport, _
SpreadsheetType:=acSpreadsheetTypeExcel12Xml, _
TableName:="LatestSNR", _
Filename:=PathEx, _
HasFieldNames:=True, _
Range:="Metadatasheet!"
End Sub
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
ORA-22292: Cannot open a LOB in read-write mode without a transaction
Hi ,
somebody can help me, what is that problem.
I run the script by using the Oracle SQL developer to update the clob column.
error message is :
ORA-22292: Cannot open a LOB in read-write mode without a transaction.
Regards,
Message was edited by:
user533045Without posting the code its difficult for anyone to figure out whats wrong with this
error.Please paste the code.
Khurram -
Clone Production Database and Convert into Read Write Mode
Hi,
Please help me for below question...
How to Create Test Database from Production Database without transporting backup of Production Database to Test Database and the Test Database should be in different directory structure and converting into read write mode?
Please find me a solution as early as possible...
Thanks & Regards
Akhilif you don't need to move backup from prod to dev you need to create rman catalog and have access on it from dev server , after that you will be able to duplicate your prod to dev without moving backup and database will be in Read write by default .
-
Clone production db, & convert it to read write mode
Hi Guys.,
I'm having dba1 & dba2 server's , At dba1 there is my production database , Using this production database I want to create a new 'test' database
"WITHOUT taking the BACKUP of MY production database."
Note: I want to convert 'test' database to read write mode Too.
please help me out with neat steps ,, Thanks in advance:-)If your database version is 11g R2 then you can use active database duplication as Hermant says.
http://taliphakanozturken.wordpress.com/2011/06/26/creating-standby-database-with-rman-active-database-duplication-in-11gr2/
Otherwise you need data pump export/import, transportable tablespace, etc to transfer your data.
Talip Hakan Ozturk
http://taliphakanozturken.wordpress.com/ -
External Optical Drives/DVD and CD Read/Writer
Hello,
My MacBook Pro from late 2007 had a DVD reading/writing problem, Apple Support told me its going to be around US$200.00 for repair.
I was thinking if an external dvd-rom will be better since after paying for repair it will just die anyway, apple ****** rom will die anyway.
So my question is if any external dvd-rom will work, even for bootcamp installation.
Any idea?Welcome to Apple Discussions!
Just to make sure you don't have a permissions problem causing the read/write problem, open Disk Utility and repair permissions if you haven't already.
I think the main thing to check with an external unit is that it is compatible with any OS you want to run and that there is a way to install it if your internal optical drive is not working. You may need to download the drivers from the manufacturer's web site, so be sure they are available.
Good luck! -
[SOLVED]trying to mount disk so all users can read write
I'm trying to mount my hard drive to /mnt/2TB automatically at startup. My /etc/fstab looks like this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs auto,exec,rw,users,uid=1000 0 0
ls / shows...
drwxrwxrwx 3 root root 4096 Jun 30 20:09 mnt
ls /mnt shows...
drwxrwxrwx 1 root root 4096 Jun 20 21:21 2TB
When I restart the disk mounts fine but I cannot write anything to disk. I want to mount this disk so that anyone can read, write, and execute on it. I specified these options in my fstab. What options am I missing?
EDIT:
I figured it out. I had to install ntfs-3g. Once I did that I changed my fstab to this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs-3g defaults,uid=1000 0 0
Then I changed /mnt permissions to ...
drwxr-xr-x 3 root root 4096 Jun 30 20:09 mnt
Then I changed /mnt/2TB permissions to...
drwxrwxrwx 1 necbot users 4096 Jun 20 21:21 2TB
Works great!
Last edited by necbot (2014-07-02 00:07:43)I ran across this in the ntfs-3g manual which might be of some interest. It appears that adding "permissions" to the mount options for ntfs-3g might accomplish roughly what you want, but you may have to perform some work to get it operational. Likewise, the Windows ACL may interfere and a quick glance seems to me to suggest that you might have to tweak things from Windows to get the permissions working well.
I personally have all of my Windows partitions mounted under /windows, but I can see why that isn't an ideal solution if you're dabbling in Arch or have things you want to more easily share in one direction.
Hope this helps somewhat even though you've already marked the topic as solved. -
ATTN Java Gurus: udf.policy - Unable to Grant Read,Write to Specific File
NOTE: A correct answer to this question will receive the rarely used OTN 25pt <font color="silver" size="3" face="script">Platinum Star</font><font color="silver" size="4" face="script"> ★</font> *
Essbase 9.3.1
Using a Java CDF that reads and writes to a file
I'm trying to grant permission to a specific file in the file system by granting permission in the udf.policy file.
When I uncomment the line permission java.security.AllPermission; the CDF works fine and interacts with the file correctly. This is just to prove that the CDF works, I need to tighten this up to a single file. I stop and start the app after each edit.(I've also tried bouncing the Essbase server too)
When I use the following, I get an exception, shown below. Nothing of consequence is being written to the app or essbase logs
grant {
permission java.io.FilePermission "C:/test/essbase/CalcProfile.db", "write, read";
};java.security.AccessControlException: access denied (java.io.FilePermission C:\esstest\Server\PlugIns\Essbase read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at com.hyperion.essbase.calculator.ESecurityManager.checkRead(ESecurityManager.java:80)
at java.io.File.exists(File.java:731)
at org.sqlite.Conn.open(Conn.java:98)
at org.sqlite.Conn.<init>(Conn.java:57)
at org.sqlite.JDBC.createConnection(JDBC.java:77)
at org.sqlite.JDBC.connect(JDBC.java:64)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at com.accelatis.essbase.calcprofile.cdf.CalcComment.calcComment(CalcComment.java:16)
>
I've tried creating the policy using PolicyTool, same result. However, I have no idea what or if I should put in the "CodeBase" field.
Has anyone had success creating read & write permissions to a single file using the udf.policy file? What is the magic syntax?
Regards,
Robb Salzmann
* <font face="small" size=".2em" color="silver">right after the platinum star award is created</font>Hi Robb,
Never heard of the OTN 25pt Platinum Star award... It sounds appetizing, but I know I won't get it since I've got no Java experience. :)
I was just gonna ask if you've thought about posting the same question on one of the Java forums?
https://forums.oracle.com/forums/category.jspa?categoryID=285
Cheers,
Mehmet -
Windows server 2012 R2 does not recognize DVD burner as read/write device
I've seen problem fixes for this on Windows 7 but nothing on 2012 R2.
I changed the drive letter on the server (2012 R2 with all current updates) and now it does not recognize the working DVD burner as a read/write device.
The device does work correctly with other Operating Systems on the same hardware. The box is a Lenovo D30.
Any idea as to how to go about this fix. All Microsoft troubleshooter downloads run and say the problem was corrected but no luck in burning anything.Hi,
Did you run this?
http://support.microsoft.com/mats/cd_dvd_drive_problems
Regards.
Vivian Wang -
Formatting external drive for read/write PC/Mac & files greater than 4GB
I'm on Snow Leopard and deliver an external drive off-site to a video editor who needs to read/write to the drive and return the edited files and then I need to read/write all over again. All video files are greater than 4GB. How would I go about this? Third party applications like MacDrive create too much overhead when processing video files. FAT32 limits file sizes to 4GB.
Hi WillDuffy;
Your requirement of files greater than 4GB eliminates FAT.
In your case since you don't have access to the PC, I am afraid you are forced to use the NTFS. This will require you to use the reverse engineered effort called NTFS-3G to be able to write to the disk from your Mac. Sorry.
Allan
Message was edited by: Allan Eckert -
Which table shows the tablespace in read-only mode or read-write mode.
HI All,
Can someonoe help me out to find which table shows whether the a tablespace is in Read-only mode or Read-write.
Thanks,
naveenTry this:
select tbl.table_name, tb.tablespace_name, TB.STATUS from dba_tablespaces tb, dba_tables tbl
where TB.TABLESPACE_NAME = tbl.TABLESPACE_NAME and TB.TABLESPACE_NAME = 'YOUR_TABLESPACE_NAME' and tbl.table_name = 'TABLE_NAME' -
FF OPC read & write Mode Status
How do I read & write to a block Mode Status using the OPC server. For example I thought that each (such as Actual, or Target, etc) would be a bit mapped byte with each bit representing a mode, but it does not seem to work this way.
You can get a block status by reading MODE_BLK.ACTUAL (type = uint8)
You can set a block status by writing MODE_BLK.TARGET (type = uint8)
For example, you can set a block to OOS by setting MODE_BLK.TARGET = 0x80.
If you find MODE_BLK.ACTUAL is 0x08, then it is in Auto.
The followings are the mode value description.
0) Value 1
Desc |en|ROut
Help |en|Remote Ouput Mode
1) Value 2
Desc |en|RCas
Help |en|Remote Cascade Mode
2) Value 4
Desc |en|Cas
Help |en|Cascade Mode
3) Value 8
Desc |en|Auto
Help |en|Automatic Mode
4) Value 16
Desc |en|Man
Help |en|Man
5) Value 32
Desc |en|LO
Help |en|Local Override Mode
6) Value 64
Desc |en|IMan
Help |en|Initialization Manual Mode
7) Value 128
Desc |en|OOS
Help |en|Out Of Service Mode -
Read/Write mode in FileIO doesn't work?
It seems it's not possible to both read from and write to a
file in the same
openFile session? I had the following code:
fObj=xtra("FileIO").new()
fObj.openFile(the moviePath & fName,0)
fObj.writeString(fileString)
fObj.closeFile()
fObj=0
fName and fileString are preset before this starts, but are
not relevant to
the issue. This code was working for saving existing files,
but wouldn't
create files if they didn't exist already. So I added the
following:
fObj=xtra("FileIO").new()
fObj.openFile(the moviePath & fName,0)
if fObj.readFile() = VOID then
fObj.createFile(the moviePath & fName)
fObj.openFile(the moviePath & fName,0)
end if
fObj.writeString(fileString)
fObj.closeFile()
fObj=0
Basically, I'm checking and see if the file exists already or
not. It opens
it and reads it to see if there's anything there already. If
not, it
creates the file and opens it. This did the opposite, working
fine on new
files but wouldn't save data to existing files. So I had to
add yet another
chunk of code to make it work all around:
fObj=xtra("FileIO").new()
fObj.openFile(the moviePath & fName,0)
if fObj.readFile() = VOID then
fObj.createFile(the moviePath & fName)
fObj.openFile(the moviePath & fName,0)
else
fObj.closeFile()
fObj.openFile(the moviePath & fName,0)
end if
fObj.writeString(fileString)
fObj.closeFile()
fObj=0
So if the file does exist, it has to close it and then open
it again in
order to write to it? I thought that mode 0 was supposed to
be
"Read/Write". So I should be able to both, but apparently not
in the same
session? Is there a better way to check if the file exists
first? Seems
like I'm using twice as much code as should be necessary to
do this...> No, but strange as it seems, it does have to open it
before it can delete
> it.
Not deleting anything just yet, only creating new or altering
old.
> Buddy API*, of course. :)
> baFileExists(), baDeleteFile().
Was afraid of that, I generally try to avoid adding Xtras to
a project
unless there's really no other way. I'm sure at some point
Buddy API may be
added to this project's Xtra list, but until I need to, I'm
holding back a
bit.
> Is there any chance that you still have the file open?
This can happen
> during
> authoring if the script stops for any reason before
issuing closeFile().
I'm almost certain that's not the case. I make a pretty
strict habit of
closing files as soon as possible after opening them -
open-read-close or
open-write-close. Since the program hasn't actually errored
at all during
this process, I can safely assume that the closeFile() is
happening as it
should.
> But the real trick with fileIO is using both status()
and error() (if
> status
> returns other than 0) after nearly every operation.
I was trying to see what those did, but status() returned 0
every time, even
when it didn't do what it was supposed to. Error() I didn't
check, but
without a code to put into it, it doesn't seem like it'd do
anything. The
other one I was looking at was getLength() - presumably
that'd return 0 for
a non-existent file?
> IIRC, the process for deleting a file without a 3rd
party Xtra goes
> something
> like:
Well, as I said I'm not deleting anything, so I don't think I
need that yet.
I think Stephen hit the nail though - it actually was
writing, just in the
wrong place. -
DVD/CD drive read/writes DVD, reads CD, but suddenly fails to recognize CDr
I'm having a problem that I just don't understand, and I can't seem to find any information on, so I'm hoping somebody out there has some thoughts.
I have a powerbook 17 with the DVD/CD listed below (from system profiler).
This drive has always worked perfectly, but now I find that I can:
- play DVDs
- burn DVDs
- play/read CD
but when I insert a CDr to burn, the icon never shows up on the desktop. Running disk utility lists it as a CD (read only) -- I'm not sure if disk utility is valid in this context or not, but I had to start it so that I could get at the CD to eject it.
At first I thought it might be the media I was using, but I tried two different kinds -- both failed, then I found some blanks of the brand and type that I've been using forever...failure.
So, can this be a hardware error? If so, how can a hardware drive error only affect recognizing writeable CDs? If this is the case, I'd like to learn something! =:-)
The only thing that's changed on this system is that I regularly run software updtate...everything's up to date. This is OSX 10.3.9.
Thanks,
keith
MATSHITA DVD-R UJ-816:
Manufacturer: MATSHITA
Model: MATSHITA DVD-R UJ-816
Revision: DXJ3
Serial Number:
Drive Type: CD-RW/DVD-RW
Disc Burning: Apple Supported/Shipped
Removable Media: Yes
Detachable Drive: No
Protocol: ATAPI
Unit Number: 0
Socket Type: InternalKeith, just for grins, go to your Apple and click it and then choose System Preferences, and when it opens choose CD-DVD and see what option you have checked for the different media.
Just a chance when you did an update it might have changed a default setting you had.
Don
Maybe you are looking for
-
Adobe Standard 8 as default PDF viewer, except in websites
Hello I am trying to get Adobe Standard 8 to deploy as the default application when dealing with PDFs, but have Adobe Reader X as the embedded PDF viewer in Internet Explorer. I have been successful in getting both applications to install, and X be t
-
CR2008: BLOB field in preview crash the designer
I using CR2008 with MSSQL 2008. I have create a table with some default values. On of them should be the compny logo. I have put company.jpg in the table to a BLOB-Column. To insert the BLOB-field a use a SQL-Statement: (SELECT ReportElements.ReportE
-
Issue while connecting to managed server through WSLT
Hi All, we have one Admin Server and 6 managed server. we are successfully able to connect to Admin server which is running on port 7001 but when we are trying to connect to any of the managed server at port 8001 we are getting below error: Traceback
-
I recently update firefox 6.0 version, but I can't use the shortcut(ctr+tab) to switch to next/previous tab. I download an extension called Customizable Shortcuts, also I can't find the item of witch to next/previous tab in it. How can I fix this pro
-
Trouble syncing Mail folders/subfolders
Hi to anyone who reads this. Not sure where to turn for help right now. Apple Tech Support says this is a .Mac problem; .Mac says it's an Apple Tech Support issue. I'm in the inferno. Like a lot of people, I download a lot of e-mails from the server